diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-19 17:50:44 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-19 17:50:44 +0200 |
commit | 020465218ccff1195a47a890037db37d0395c9d9 (patch) | |
tree | 491ffc11553f9de9b91c890f82dc0668c44660e8 /testsuite | |
parent | e329089c62ed813e97344f8c61d7dc34221fd5ee (diff) | |
parent | 8cd9f343e74ca65f36c42a44e845716ba5411663 (diff) | |
download | busybox-020465218ccff1195a47a890037db37d0395c9d9.tar.gz |
Merge branch 'master' of git+ssh://vda@busybox.net/var/lib/git/busybox
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/cpio.tests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 42e3ff8dc..5b397b01c 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" \ "\ |