bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-6.11 gmake check errors on Solaris 10 SPARC


From: Jim Meyering
Subject: Re: coreutils-6.11 gmake check errors on Solaris 10 SPARC
Date: Mon, 21 Apr 2008 14:50:22 +0200

"Allen Hewes" <address@hidden> wrote:
> Solaris 10 SPARC
> uname -a
> SunOS sparky 5.10 Generic_127111-11 sun4u sparc SUNW,UltraAX-i2
>
> cc -v
> cc: Sun C 5.8 Patch 121015-06 2007/10/03
>
> Looks like there isn't an equivalent to a Linux 'mount --bind' on
> Solaris?
>
...
> FAIL: one-file-system.log

Thanks for reporting that.
To summarize, the root-only check, tests/rm/one-file-system
is failing on systems where mount doesn't know the --bind option.
This should fix it.
If you test it, please let me know.

        tests: skip (don't fail) rm/one-file-system when mount --bind fails
        * tests/rm/one-file-system: Reported by Allen Hewes.

diff --git a/tests/rm/one-file-system b/tests/rm/one-file-system
index 1cc4bfb..abb12d4 100755
--- a/tests/rm/one-file-system
+++ b/tests/rm/one-file-system
@@ -31,7 +31,8 @@ cleanup_() { rm -rf "$other_partition_tmpdir"; }

 t=$other_partition_tmpdir
 mkdir -p a/b $t/y
-mount --bind $t a/b || framework_failure
+mount --bind $t a/b \
+  || skip_test_ "This test requires mount with a working --bind option."

 cat <<\EOF > exp || framework_failure
 rm: skipping `a/b', since it's on a different device
--
1.5.5.76.gae22a




reply via email to

[Prev in Thread] Current Thread [Next in Thread]