diff options
author | Jim Meyering <meyering@redhat.com> | 2009-02-27 09:16:45 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-03-02 09:35:12 +0100 |
commit | 0433f90e3d388734888dad17f5fc2f106c59faf4 (patch) | |
tree | 331e116c9ef593d41f194da801149eeb91ec56ef /tests/test-lib.sh | |
parent | 1c7d5b58476d5bf5ab8db5d025b7d0820611aae7 (diff) | |
download | coreutils-0433f90e3d388734888dad17f5fc2f106c59faf4.tar.xz |
tests: reflect the s/+/./ SELinux indicator change
* tests/mkdir/perm: Now that this test is no longer always skipped,
make it work independently of ls: use stat, not ls, to get perm string.
* test-lib.sh (rwx_to_mode_): Use stat, not ls to get perm string
This test was run only when RUN_VERY_EXPENSIVE_TESTS=yes was set.
Diffstat (limited to 'tests/test-lib.sh')
-rw-r--r-- | tests/test-lib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh index b3aaf65db..45026f13d 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -136,7 +136,7 @@ rwx_to_mode_() case $rwx in [ld-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxtT-]) ;; - [ld-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxtT-]+) ;; + [ld-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxsS-][rwx-][rwx-][rwxtT-][+.]) ;; *) echo "$0: invalid mode string: $rwx" 1>&2; return;; esac |