From: Jim Meyering Date: Fri, 10 Mar 2000 11:53:22 +0000 (+0000) Subject: Accommodate SunOS-NFS-mounting-OpenBSD mkfifo X-Git-Tag: SH-UTILS-2_0g~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55746a425ebc30dbfa3e805a6464adafa4f7b359;p=thirdparty%2Fcoreutils.git Accommodate SunOS-NFS-mounting-OpenBSD mkfifo bug and `exit 77' if the fifo cannot be created. Report and suggestion from Volker Borchert. --- diff --git a/tests/touch/fifo b/tests/touch/fifo index 69c83bdb6a..27071fbfec 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