diff options
Diffstat (limited to 'test/filters/filters.sh')
-rwxr-xr-x | test/filters/filters.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/filters/filters.sh b/test/filters/filters.sh index 04d7080d6..1c6b812ff 100755 --- a/test/filters/filters.sh +++ b/test/filters/filters.sh | |||
@@ -96,8 +96,7 @@ echo "TESTING: seccomp errno (test/filters/seccomp-errno.exp)" | |||
96 | echo "TESTING: seccomp su (test/filters/seccomp-su.exp)" | 96 | echo "TESTING: seccomp su (test/filters/seccomp-su.exp)" |
97 | ./seccomp-su.exp | 97 | ./seccomp-su.exp |
98 | 98 | ||
99 | which strace 2>/dev/null | 99 | if command -v strace; then |
100 | if [ $? -eq 0 ]; then | ||
101 | echo "TESTING: seccomp ptrace (test/filters/seccomp-ptrace.exp)" | 100 | echo "TESTING: seccomp ptrace (test/filters/seccomp-ptrace.exp)" |
102 | ./seccomp-ptrace.exp | 101 | ./seccomp-ptrace.exp |
103 | else | 102 | else |