summaryrefslogtreecommitdiff
path: root/tests/touch/fifo
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch/fifo')
-rwxr-xr-xtests/touch/fifo5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/touch/fifo b/tests/touch/fifo
index 335b0c200..0e841a06c 100755
--- a/tests/touch/fifo
+++ b/tests/touch/fifo
@@ -1,7 +1,7 @@
#!/bin/sh
# Make sure touch works on fifos without hanging.
-# Copyright (C) 2000 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2007 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,6 +21,8 @@ if test "$VERBOSE" = yes; then
touch --version
fi
+. $srcdir/../test-lib.sh
+
framework_failure=0
tmp=fifo-$$
@@ -41,6 +43,5 @@ fi
fail=0
touch $tmp || fail=1
-rm -rf $tmp
exit $fail