X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-pread.sh;h=cd4c04dc91104786210ceb45ba376c8357d9ca45;hb=6267b9ec0238f2b31c44644d75ce98e97349ef25;hp=98971a4c58cebab3ec9303450642cba8493e4030;hpb=9b1723bc19a2770a3f57e6432347dab683e2f027;p=pspp diff --git a/tests/test-pread.sh b/tests/test-pread.sh index 98971a4c58..cd4c04dc91 100755 --- a/tests/test-pread.sh +++ b/tests/test-pread.sh @@ -1,8 +1,7 @@ #!/bin/sh -: ${srcdir=.} -. $srcdir/init.sh --set-path=. +. "${srcdir=.}/init.sh"; path_prepend_ . -fail=0; -test-pread || fail=1 +fail=0 +: | test-pread || fail=1 Exit $fail