diff options
author | Pascal Bellard <pascal.bellard@ads-lu.com> | 2010-10-18 00:54:51 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-18 00:54:51 +0200 |
commit | 873bb31d1703aae080d1928b5928c0011a944485 (patch) | |
tree | f3199f7bbab43ecc1ee020ec20e7ccb342060d53 /testsuite | |
parent | cadf90184c2c74e2c37161efe55cd05fb04e0c59 (diff) | |
download | busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.tar.gz busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.tar.bz2 busybox-w32-873bb31d1703aae080d1928b5928c0011a944485.zip |
cpio: avoid 'not created: newer or same age file exists' message for dirs
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/cpio.tests | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 05b92dbe4..4cd441a60 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests | |||
@@ -116,6 +116,16 @@ link | |||
116 | " "" "" | 116 | " "" "" |
117 | SKIP= | 117 | SKIP= |
118 | 118 | ||
119 | # avoid 'not created: newer or same age file exists' message for directories | ||
120 | rm -rf cpio.testdir cpio.testdir2 2>/dev/null | ||
121 | mkdir cpio.testdir | ||
122 | testing "cpio extracts in existing directory" \ | ||
123 | "$ECHO -ne '$hexdump' | bzcat | cpio -id 2>&1; echo \$?" \ | ||
124 | "\ | ||
125 | 1 blocks | ||
126 | 0 | ||
127 | " "" "" | ||
128 | SKIP= | ||
119 | 129 | ||
120 | # Clean up | 130 | # Clean up |
121 | rm -rf cpio.testdir cpio.testdir2 2>/dev/null | 131 | rm -rf cpio.testdir cpio.testdir2 2>/dev/null |