aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-15 15:14:20 -0500
committerRob Landley <rob@landley.net>2019-09-15 15:14:20 -0500
commitcd7487d66bf751a77665da353304f1c62f47605c (patch)
tree740dade1c45ce01b504f323308e6897df5a2f1e4 /tests
parentd8cc3d57050a588e9adf73a232a470f0fb19b088 (diff)
downloadtoybox-cd7487d66bf751a77665da353304f1c62f47605c.tar.gz
Elliott's test for sparse file size display.
Diffstat (limited to 'tests')
-rw-r--r--tests/tar.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tar.test b/tests/tar.test
index afa35e94..aacf2466 100644
--- a/tests/tar.test
+++ b/tests/tar.test
@@ -231,6 +231,8 @@ tar c --sparse fweep > fweep.tar
FWEEP=$(du fweep)
rm fweep
testing "sparse extract" "tar xf fweep.tar && du fweep" "$FWEEP\n" "" ""
+testing "sparse tvf" "tar tvf fweep.tar | grep -wq 13172736 && echo right size"\
+ "right size\n" "" ""
rm fweep fweep.tar
if false