aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tar.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tar.tests')
-rwxr-xr-xtestsuite/tar.tests16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests
index 1675b07b1..6c479d3fe 100755
--- a/testsuite/tar.tests
+++ b/testsuite/tar.tests
@@ -365,4 +365,20 @@ n8fYaKlioCTzL2oXYczyUUIP4u5IpwoSEwWdtoA=
365SKIP= 365SKIP=
366cd .. || exit 1; rm -rf tar.tempdir 2>/dev/null 366cd .. || exit 1; rm -rf tar.tempdir 2>/dev/null
367 367
368mkdir tar.tempdir && cd tar.tempdir || exit 1
369testing "Symlinks and hardlinks coexist" '\
370mkdir dir
371>dir/a
372ln -s ../dir/a dir/b
373ln dir/b dir/c
374mkdir new
375tar cf - dir/* | tar -C new -xvf - 2>&1
376' "\
377dir/a
378dir/b
379dir/c
380" \
381"" ""
382cd .. || exit 1; rm -rf tar.tempdir 2>/dev/null
383
368exit $FAILCOUNT 384exit $FAILCOUNT