summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-03-10 11:53:22 +0000
committerJim Meyering <jim@meyering.net>2000-03-10 11:53:22 +0000
commit55746a425ebc30dbfa3e805a6464adafa4f7b359 (patch)
treecceaf84647ab05548049ae51f40367faa42b7db6
parent41d063607c6f6066d660259ea21e893fce0a4d02 (diff)
downloadcoreutils-55746a425ebc30dbfa3e805a6464adafa4f7b359.tar.xz
Accommodate SunOS-NFS-mounting-OpenBSD mkfifo
bug and `exit 77' if the fifo cannot be created. Report and suggestion from Volker Borchert.
-rwxr-xr-xtests/touch/fifo10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/touch/fifo b/tests/touch/fifo
index 69c83bdb6..27071fbfe 100755
--- a/tests/touch/fifo
+++ b/tests/touch/fifo
@@ -13,8 +13,14 @@ rm -rf $tmp
mkfifo $tmp || framework_failure=1
if test $framework_failure = 1; then
- echo 'failure in testing framework'
- exit 1
+ # Make an exception of this case -- usually we interpret framework-creation
+ # failure as a test failure. However, in this case, when running on a SunOS
+ # system using a disk NFS mounted from OpenBSD, the above fails like this:
+ # mkfifo: cannot make fifo `fifo-10558': Not owner
+ echo '********************************************'
+ echo 'NOTICE: unable to create test prerequisites'
+ echo '********************************************'
+ exit 77
fi
fail=0