diff --git a/tests/dd/nocache_eof.sh b/tests/dd/nocache_eof.sh index ca36032f1..a3a7174ef 100755 --- a/tests/dd/nocache_eof.sh +++ b/tests/dd/nocache_eof.sh @@ -31,7 +31,7 @@ dd if=in.f iflag=nocache count=0 || skip_ 'this file system lacks support for posix_fadvise()' strace_dd() { - strace -o dd.strace -e fadvise64,fadvise64_64 dd status=none "$@" || fail=1 + strace -o dd.strace dd status=none "$@" || fail=1 } advised_to_eof() { @@ -45,7 +45,7 @@ strace_dd if=in.f of=out.f bs=1M oflag=nocache,sync #fadvise64(1, 0, 1048576, POSIX_FADV_DONTNEED) = 0 #fadvise64(1, 1048576, 131072, POSIX_FADV_DONTNEED) = 0 #fadvise64(1, 1179648, 0, POSIX_FADV_DONTNEED) = 0 -advised_to_eof || fail=1 +advised_to_eof || { cat dd.strace; fail=1; } strace_dd if=in.f count=0 iflag=nocache #fadvise64(0, 0, 0, POSIX_FADV_DONTNEED) = 0