]> granicus.if.org Git - strace/blobdiff - tests/strace-S.test
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / strace-S.test
index 3ea315cefc8be37b33fc088f91a79f6ed223eb96..64e4a41e5aa1d20ce283c1ba5dd62c9848ffde71 100755 (executable)
@@ -4,7 +4,7 @@
 
 . "${srcdir=.}/init.sh"
 
-run_prog ./readv > /dev/null
+run_prog ../readv > /dev/null
 
 test_c()
 {
@@ -13,7 +13,7 @@ test_c()
        sortopts="$1"; shift
        sedexpr="$1"; shift
 
-       run_strace -c -w -S "$sortby" ./readv > /dev/null
+       run_strace -c -w -S "$sortby" ../readv > /dev/null
        sed -r -n -e "$sedexpr" < "$LOG" > "$OUT"
 
        [ -s "$OUT" ] ||
@@ -28,5 +28,3 @@ test_c()
 c='[[:space:]]+([^[:space:]]+)'
 test_c calls '-n -r' '/^[[:space:]]+[0-9]/ s/^'"$c$c$c$c"'[[:space:]].*/\4/p'
 test_c name '' '/^[[:space:]]+[0-9]/ s/^'"$c$c$c$c"'([[:space:]]+[0-9]+)?'"$c"'$/\6/p'
-
-rm -f "$OUT"