Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
" \
"" ""
+
test x"$SKIP_KNOWN_BUGS" = x"" && {
# Currently fails. Numerous buglets: "1 blocks" versus "1 block",
# "1 block" must go to stderr, does not list cpio.testdir/x and cpio.testdir/y
"" ""
}
+
# More complex case
rm -rf cpio.testdir cpio.testdir2 2>/dev/null
mkdir cpio.testdir
" \
"" ""
+
+# Was trying to create "/usr/bin", correct is "usr/bin".
+rm -rf cpio.testdir
+testing "cpio -p with absolute paths" \
+"echo /usr/bin | cpio -dp cpio.testdir; echo \$?;
+ls cpio.testdir" \
+"\
+1 blocks
+0
+usr
+" \
+ "" ""
+
+
# Clean up
rm -rf cpio.testdir cpio.testdir2 2>/dev/null