gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / tests / test-pread.sh
index 98971a4..cd4c04d 100755 (executable)
@@ -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