"Allen Hewes" <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to