From 55746a425ebc30dbfa3e805a6464adafa4f7b359 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 10 Mar 2000 11:53:22 +0000 Subject: Accommodate SunOS-NFS-mounting-OpenBSD mkfifo bug and `exit 77' if the fifo cannot be created. Report and suggestion from Volker Borchert. --- tests/touch/fifo | 10 ++++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2