diff options
Diffstat (limited to 'test/filters/seccomp-debug.exp')
-rwxr-xr-x | test/filters/seccomp-debug.exp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/test/filters/seccomp-debug.exp b/test/filters/seccomp-debug.exp index 7a4a13991..4986a6bf6 100755 --- a/test/filters/seccomp-debug.exp +++ b/test/filters/seccomp-debug.exp | |||
@@ -31,7 +31,7 @@ expect { | |||
31 | after 100 | 31 | after 100 |
32 | 32 | ||
33 | 33 | ||
34 | # amd64 architecture | 34 | # 64 bit architecture |
35 | send -- "firejail --debug sleep 1; echo done\r" | 35 | send -- "firejail --debug sleep 1; echo done\r" |
36 | expect { | 36 | expect { |
37 | timeout {puts "TESTING ERROR 5\n";exit} | 37 | timeout {puts "TESTING ERROR 5\n";exit} |
@@ -43,7 +43,7 @@ expect { | |||
43 | } | 43 | } |
44 | expect { | 44 | expect { |
45 | timeout {puts "TESTING ERROR 7\n";exit} | 45 | timeout {puts "TESTING ERROR 7\n";exit} |
46 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" | 46 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" |
47 | } | 47 | } |
48 | expect { | 48 | expect { |
49 | timeout {puts "TESTING ERROR 8\n";exit} | 49 | timeout {puts "TESTING ERROR 8\n";exit} |
@@ -55,18 +55,18 @@ expect { | |||
55 | } | 55 | } |
56 | after 100 | 56 | after 100 |
57 | 57 | ||
58 | # amd64 architecture - ignore seccomp | 58 | # 64 bit architecture - ignore seccomp |
59 | send -- "firejail --debug --ignore=seccomp sleep 1; echo done\r" | 59 | send -- "firejail --debug --ignore=seccomp sleep 1; echo done\r" |
60 | expect { | 60 | expect { |
61 | timeout {puts "TESTING ERROR 10\n";exit} | 61 | timeout {puts "TESTING ERROR 10\n";exit} |
62 | "Installing /run/firejail/mnt/seccomp seccomp filter" {puts "TESTING ERROR 11\n";exit} | 62 | "Installing /run/firejail/mnt/seccomp seccomp filter" {puts "TESTING ERROR 11\n";exit} |
63 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 12\n";exit} | 63 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 12\n";exit} |
64 | "Child process initialized" | 64 | "Child process initialized" |
65 | } | 65 | } |
66 | expect { | 66 | expect { |
67 | timeout {puts "TESTING ERROR 13\n";exit} | 67 | timeout {puts "TESTING ERROR 13\n";exit} |
68 | "Installing /run/firejail/mnt/seccomp seccomp filter" {puts "TESTING ERROR 14\n";exit} | 68 | "Installing /run/firejail/mnt/seccomp seccomp filter" {puts "TESTING ERROR 14\n";exit} |
69 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 15\n";exit} | 69 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 15\n";exit} |
70 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" | 70 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" |
71 | } | 71 | } |
72 | expect { | 72 | expect { |
@@ -75,7 +75,7 @@ expect { | |||
75 | } | 75 | } |
76 | after 100 | 76 | after 100 |
77 | 77 | ||
78 | # amd64 architecture - ignore protocol | 78 | # 64 bit architecture - ignore protocol |
79 | send -- "firejail --debug --ignore=protocol sleep 1; echo done\r" | 79 | send -- "firejail --debug --ignore=protocol sleep 1; echo done\r" |
80 | expect { | 80 | expect { |
81 | timeout {puts "TESTING ERROR 17\n";exit} | 81 | timeout {puts "TESTING ERROR 17\n";exit} |
@@ -90,7 +90,7 @@ expect { | |||
90 | expect { | 90 | expect { |
91 | timeout {puts "TESTING ERROR 21\n";exit} | 91 | timeout {puts "TESTING ERROR 21\n";exit} |
92 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" {puts "TESTING ERROR 22\n";exit} | 92 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" {puts "TESTING ERROR 22\n";exit} |
93 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" | 93 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" |
94 | } | 94 | } |
95 | expect { | 95 | expect { |
96 | timeout {puts "TESTING ERROR 23\n";exit} | 96 | timeout {puts "TESTING ERROR 23\n";exit} |
@@ -114,21 +114,21 @@ expect { | |||
114 | } | 114 | } |
115 | 115 | ||
116 | 116 | ||
117 | # amd64 architecture - seccomp.block-secondary | 117 | # 64 bit architecture - seccomp.block-secondary |
118 | send -- "firejail --debug --seccomp.block-secondary sleep 1; echo done\r" | 118 | send -- "firejail --debug --seccomp.block-secondary sleep 1; echo done\r" |
119 | expect { | 119 | expect { |
120 | timeout {puts "TESTING ERROR 27\n";exit} | 120 | timeout {puts "TESTING ERROR 27\n";exit} |
121 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 28\n";exit} | 121 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 28\n";exit} |
122 | "Child process initialized" | 122 | "Child process initialized" |
123 | } | 123 | } |
124 | expect { | 124 | expect { |
125 | timeout {puts "TESTING ERROR 29\n";exit} | 125 | timeout {puts "TESTING ERROR 29\n";exit} |
126 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 30\n";exit} | 126 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 30\n";exit} |
127 | "Installing /run/firejail/mnt/seccomp seccomp filter" | 127 | "Installing /run/firejail/mnt/seccomp seccomp filter" |
128 | } | 128 | } |
129 | expect { | 129 | expect { |
130 | timeout {puts "TESTING ERROR 31\n";exit} | 130 | timeout {puts "TESTING ERROR 31\n";exit} |
131 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 32\n";exit} | 131 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 32\n";exit} |
132 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" | 132 | "Installing /run/firejail/mnt/seccomp.protocol seccomp filter" |
133 | } | 133 | } |
134 | expect { | 134 | expect { |
@@ -137,16 +137,16 @@ expect { | |||
137 | } | 137 | } |
138 | after 100 | 138 | after 100 |
139 | 139 | ||
140 | # amd64 architecture - seccomp.block-secondary, profile | 140 | # 64 bit architecture - seccomp.block-secondary, profile |
141 | send -- "firejail --debug --profile=block-secondary.profile sleep 1; echo done\r" | 141 | send -- "firejail --debug --profile=block-secondary.profile sleep 1; echo done\r" |
142 | expect { | 142 | expect { |
143 | timeout {puts "TESTING ERROR 33\n";exit} | 143 | timeout {puts "TESTING ERROR 33\n";exit} |
144 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 34\n";exit} | 144 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 34\n";exit} |
145 | "Child process initialized" | 145 | "Child process initialized" |
146 | } | 146 | } |
147 | expect { | 147 | expect { |
148 | timeout {puts "TESTING ERROR 35\n";exit} | 148 | timeout {puts "TESTING ERROR 35\n";exit} |
149 | "Installing /run/firejail/mnt/seccomp.i386 seccomp filter" {puts "TESTING ERROR 35\n";exit} | 149 | "Installing /run/firejail/mnt/seccomp.32 seccomp filter" {puts "TESTING ERROR 35\n";exit} |
150 | "Installing /run/firejail/mnt/seccomp seccomp filter" | 150 | "Installing /run/firejail/mnt/seccomp seccomp filter" |
151 | } | 151 | } |
152 | expect { | 152 | expect { |