From: Nathan Stratton Treadway Date: Tue, 22 Jul 2014 00:34:20 +0000 (+0300) Subject: Fix the testsuite X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=f86e0605d0e24d2e0424579a8310f6fb81375b92;p=chaz%2Ftar Fix the testsuite * tests/incr07.at: Don't assume case-sensitive filesystem. --- diff --git a/tests/incr07.at b/tests/incr07.at index 6ac345a..cbd4a3d 100644 --- a/tests/incr07.at +++ b/tests/incr07.at @@ -38,23 +38,23 @@ AT_KEYWORDS([incremental extract incr07]) # http://lists.gnu.org/archive/html/bug-tar/2013-03/msg00044.html AT_TAR_CHECK([ -mkdir A -echo 'a' > A/a -echo 'a' > A/b +mkdir dirA +echo 'a' > dirA/a +echo 'a' > dirA/b decho C0 -tar -g test.snar -vcf test.0.tar A +tar -g test.snar -vcf test.0.tar dirA -echo 'a' > A/c +echo 'a' > dirA/c decho C1 -tar -g test.snar -vcf test.1.tar A +tar -g test.snar -vcf test.1.tar dirA -rm -f A/a +rm -f dirA/a decho C2 -tar -g test.snar -vcf test.2.tar A +tar -g test.snar -vcf test.2.tar dirA mkdir ext -rm -rf A +rm -rf dirA decho E0 tar -g test.snar -vxf test.0.tar -C ext/ @@ -64,43 +64,43 @@ tar -g test.snar -vxf test.1.tar -C ext/ decho E2 tar -g test.snar -vxf test.2.tar -C ext/ -mkdir ext/A/B -touch ext/A/B/file +mkdir ext/dirA/dirB +touch ext/dirA/dirB/file decho E3 tar -g test.snar -vxf test.2.tar -C ext/ echo FIN -test -d A && echo >&2 "toplevel A exists" +test -d dirA && echo >&2 "toplevel dirA exists" exit 0 ], [0], [C0 -A/ -A/a -A/b +dirA/ +dirA/a +dirA/b C1 -A/ -A/c +dirA/ +dirA/c C2 -A/ +dirA/ E0 -A/ -A/a -A/b +dirA/ +dirA/a +dirA/b E1 -A/ -A/c +dirA/ +dirA/c E2 -A/ -tar: Deleting 'A/a' +dirA/ +tar: Deleting 'dirA/a' E3 -A/ -tar: Deleting 'A/B' +dirA/ +tar: Deleting 'dirA/dirB' FIN ], [C0 -tar: A: Directory is new +tar: dirA: Directory is new C1 C2 E0