AT_KEYWORDS([exclude exclude-tag exclude08])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag=excludeme -v etest
+tar -c -f etest.tar --exclude-tag=excludeme -v etest | sort
],
[0],
[etest/
AT_KEYWORDS([exclude exclude-tag listed incremental exclude09])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
etest/subdir/
-etest/top-level-file
etest/subdir/excludeme
+etest/top-level-file
],
[tar: etest: Directory is new
tar: etest/subdir: Directory is new
AT_KEYWORDS([exclude exclude-tag listed incremental exclude10])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
etest/subdir/
AT_KEYWORDS([exclude exclude-tag exclude-tag-under exclude11])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-under=excludeme -v etest
+tar -c -f etest.tar --exclude-tag-under=excludeme -v etest | sort
],
[0],
[etest/
AT_KEYWORDS([exclude exclude-tag exclude-tag-under listed incremental exclude12])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-under=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag-under=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
AT_KEYWORDS([exclude exclude-tag exclude-tag-under listed incremental exclude13])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag-under=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag-under=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag-under=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag-under=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
etest/subdir/
AT_KEYWORDS([exclude exclude-tag exclude-tag-all exclude14])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-all=excludeme -v etest
+tar -c -f etest.tar --exclude-tag-all=excludeme -v etest | sort
],
[0],
[etest/
AT_KEYWORDS([exclude exclude-tag exclude-tag-all listed incremental exclude15])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
-tar -c -f etest.tar --exclude-tag-all=excludeme --listed=snar -v etest
+tar -c -f etest.tar --exclude-tag-all=excludeme --listed=snar -v etest | sort
],
[0],
[etest/
AT_KEYWORDS([exclude exclude-tag exclude-tag-all listed incremental exclude16])
AT_TAR_CHECK([
+AT_SORT_PREREQ
mkexcltest etest
rm etest/subdir/excludeme
decho "# Level 0"
-tar -c -f etest-0.tar --exclude-tag-all=excludeme --listed=snar-0 -v etest
+tar -c -f etest-0.tar --exclude-tag-all=excludeme --listed=snar-0 -v etest | sort
touch etest/subdir/excludeme
touch etest/subdir/otherfile
decho "# Level 1"
cp snar-0 snar-1
-tar -c -f etest-1.tar --exclude-tag-all=excludeme --listed=snar-1 -v etest
+tar -c -f etest-1.tar --exclude-tag-all=excludeme --listed=snar-1 -v etest | sort
],
[0],
[# Level 0
etest/
etest/subdir/
-etest/top-level-file
etest/subdir/subdir-file
+etest/top-level-file
# Level 1
etest/
],