diff options
author | kientzle <kientzle@FreeBSD.org> | 2007-04-18 04:35:17 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2007-04-18 04:35:17 +0000 |
commit | 1722334e06a0542c3c0a8579f523257bd886d4a5 (patch) | |
tree | f5a6639fd4eea65eaf2e0def579ee7e4bd22fba2 /usr.bin/tar | |
parent | 8c9ec0ed497bc6067b306bca51ac84e2a8b520f1 (diff) | |
download | FreeBSD-src-1722334e06a0542c3c0a8579f523257bd886d4a5.zip FreeBSD-src-1722334e06a0542c3c0a8579f523257bd886d4a5.tar.gz |
When testing basic functionality, strip trailing '/' from
dir names, so they match the names generated by 'find'.
Diffstat (limited to 'usr.bin/tar')
-rwxr-xr-x | usr.bin/tar/test/test-basic.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tar/test/test-basic.sh b/usr.bin/tar/test/test-basic.sh index 435edad..42c6749 100755 --- a/usr.bin/tar/test/test-basic.sh +++ b/usr.bin/tar/test/test-basic.sh @@ -340,17 +340,17 @@ diff -r original copy-bzip2-bunzip2 || echo XXX FAILED XXX # Ensure that archive listing works echo " bsdtar -c | bsdtar -t" (cd original && find .) | sort > list-original -(cd original && ${BSDTAR} -cf - .) | ${BSDTAR} -tf - | sort > list-default +(cd original && ${BSDTAR} -cf - .) | ${BSDTAR} -tf - | sed 's|/$||' | sort > list-default diff list-original list-default || echo XXX FAILED XXX # Ensure that listing of deflated archives works echo " bsdtar -cz | bsdtar -t" -(cd original && ${BSDTAR} -czf - .) | ${BSDTAR} -tf - | sort > list-gzip +(cd original && ${BSDTAR} -czf - .) | ${BSDTAR} -tf - | sed 's|/$||' | sort > list-gzip diff list-original list-gzip || echo XXX FAILED XXX # Ensure that listing of bzip2ed archives works echo " bsdtar -cy | bsdtar -t" -(cd original && ${BSDTAR} -cyf - .) | ${BSDTAR} -tf - | sort > list-bzip2 +(cd original && ${BSDTAR} -cyf - .) | ${BSDTAR} -tf - | sed 's|/$||' | sort > list-bzip2 diff list-original list-bzip2 || echo XXX FAILED XXX # Filtering exercises different areas of the library. |