wok diff busybox/stuff/busybox-1.17.1-cpio-mkdir.u @ rev 6606

Added perl and m4 to autoconf depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 09 17:56:22 2010 +0000 (2010-10-09)
parents b5f4ef5d86ec
children
line diff
     1.1 --- a/busybox/stuff/busybox-1.17.1-cpio-mkdir.u	Wed Jul 28 11:45:40 2010 +0200
     1.2 +++ b/busybox/stuff/busybox-1.17.1-cpio-mkdir.u	Sat Oct 09 17:56:22 2010 +0000
     1.3 @@ -1,4 +1,4 @@
     1.4 -FIXME: Add test case !!
     1.5 +avoid 'not created: newer or same age file exists' message for directories
     1.6  --- busybox-1.17.1/archival/libunarchive/data_extract_all.c
     1.7  +++ busybox-1.17.1/archival/libunarchive/data_extract_all.c
     1.8  @@ -69,7 +69,8 @@
     1.9 @@ -11,3 +11,23 @@
    1.10   				bb_error_msg("%s not created: newer or "
    1.11   					"same age file exists", file_header->name);
    1.12   			}
    1.13 +
    1.14 +--- busybox-1.17.1/testsuite/cpio.tests
    1.15 ++++ busybox-1.17.1/testsuite/cpio.tests
    1.16 +@@ -114,6 +114,16 @@
    1.17 + " "" ""
    1.18 + SKIP=
    1.19 + 
    1.20 ++# avoid 'not created: newer or same age file exists' message for directories
    1.21 ++rm -rf cpio.testdir cpio.testdir2 2>/dev/null
    1.22 ++mkdir cpio.testdir
    1.23 ++testing "cpio extracts in existing directory" \
    1.24 ++"$ECHO -ne '$hexdump' | bzcat | cpio -id 2>&1; echo \$?" \
    1.25 ++"\
    1.26 ++1 blocks
    1.27 ++0
    1.28 ++" "" ""
    1.29 ++SKIP=
    1.30 + 
    1.31 + # Clean up
    1.32 + rm -rf cpio.testdir cpio.testdir2 2>/dev/null