]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
sheesh
authorJim Meyering <jim@meyering.net>
Wed, 2 Feb 2000 14:03:56 +0000 (14:03 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 2 Feb 2000 14:03:56 +0000 (14:03 +0000)
tests/touch/fifo

index b1a436d97b78505774b8d50b91cf0719ce0f4bc9..69c83bdb6aec4c6832d85bc1a186ecaa4e114da1 100755 (executable)
@@ -8,8 +8,9 @@ fi
 
 framework_failure=0
 
-rm -rf fifo
-mkfifo fifo || framework_failure=1
+tmp=fifo-$$
+rm -rf $tmp
+mkfifo $tmp || framework_failure=1
 
 if test $framework_failure = 1; then
   echo 'failure in testing framework'
@@ -18,7 +19,7 @@ fi
 
 fail=0
 
-touch fifo || fail=1
-rm -rf fifo
+touch $tmp || fail=1
+rm -rf $tmp
 
 exit $fail