add strace bundled test cases

This commit is contained in:
Tomoki Shirasawa
2017-11-22 10:52:30 +09:00
parent 43230eb623
commit d273a2f58b
8 changed files with 356 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Ensure that strace -f works.
. "${srcdir=.}/init.sh"
check_strace
check_timeout
time=/usr/bin/time
check_prog $time
$TIMEOUT $MCEXEC $STRACE -f $time /bin/ls > check.log 2>&1 ||
{ cat check.log; fail_ 'strace -f does not work'; }