diff options
author | 2018-03-31 07:49:55 -0400 | |
---|---|---|
committer | 2018-03-31 07:49:55 -0400 | |
commit | 64699c828f52ab06055d50e1f4e781572a53c35f (patch) | |
tree | 7994edb936d282637b2d85f92155327f76eaded0 /test/utils/audit.exp | |
parent | Merge pull request #1848 from jelford/cloud-providers (diff) | |
download | firejail-64699c828f52ab06055d50e1f4e781572a53c35f.tar.gz firejail-64699c828f52ab06055d50e1f4e781572a53c35f.tar.zst firejail-64699c828f52ab06055d50e1f4e781572a53c35f.zip |
testing
Diffstat (limited to 'test/utils/audit.exp')
-rwxr-xr-x | test/utils/audit.exp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/utils/audit.exp b/test/utils/audit.exp index c68ee387c..684886af7 100755 --- a/test/utils/audit.exp +++ b/test/utils/audit.exp | |||
@@ -76,4 +76,24 @@ expect { | |||
76 | } | 76 | } |
77 | after 100 | 77 | after 100 |
78 | 78 | ||
79 | # run audit executable without a sandbox | ||
80 | send -- "faudit\r" | ||
81 | expect { | ||
82 | timeout {puts "TESTING ERROR 13\n";exit} | ||
83 | "is not running in a PID namespace" | ||
84 | } | ||
85 | expect { | ||
86 | timeout {puts "TESTING ERROR 14\n";exit} | ||
87 | "BAD: seccomp disabled" | ||
88 | } | ||
89 | expect { | ||
90 | timeout {puts "TESTING ERROR 15\n";exit} | ||
91 | "BAD: the capability map is" | ||
92 | } | ||
93 | expect { | ||
94 | timeout {puts "TESTING ERROR 16\n";exit} | ||
95 | "MAYBE: /dev directory seems to be fully populated" | ||
96 | } | ||
97 | after 100 | ||
98 | |||
79 | puts "\nall done\n" | 99 | puts "\nall done\n" |