summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-18 10:28:05 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-06-18 10:28:05 (GMT)
commit0f022c05658a4c014ebdebdc55461afa890c98a0 (patch)
tree41afeb840bf0256863b137b190f3df1eb7a9d06f
parent5070124763a96d36b94b2a2e58df27ada3623cb8 (diff)
downloadbusybox-0f022c05658a4c014ebdebdc55461afa890c98a0.tar.gz
busybox-0f022c05658a4c014ebdebdc55461afa890c98a0.tar.bz2
cpio.tests: mention suid bits too, not only sgid
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xtestsuite/cpio.tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests
index 42e3ff8..5b397b0 100755
--- a/testsuite/cpio.tests
+++ b/testsuite/cpio.tests
@@ -97,14 +97,14 @@ usr
" "" ""
SKIP=
-# chown on a link was affecting file, dropping its sgid bits
+# chown on a link was affecting file, dropping its suid/sgid bits
rm -rf cpio.testdir
optional FEATURE_CPIO_O
mkdir cpio.testdir
touch cpio.testdir/file
-chmod 6755 cpio.testdir/file # set the suid/sgid bit
+chmod 6755 cpio.testdir/file # sets suid/sgid bits
ln -sf file cpio.testdir/link
-testing "cpio restores sgid bits" \
+testing "cpio restores suid/sgid bits" \
"cd cpio.testdir && { echo file; echo link; } | cpio -ovHnewc >pack.cpio && rm ???? && cpio -idmvu <pack.cpio 2>/dev/null;
stat -c '%a %n' file" \
"\