12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- AT_SETUP([--exclude-tag-under option in incremental pass])
- 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 | 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 | sort
- ],
- [0],
- [# Level 0
- etest/
- etest/subdir/
- etest/subdir/subdir-file
- etest/top-level-file
- etest/
- etest/subdir/
- ],
- [# Level 0
- tar: etest: Directory is new
- tar: etest/subdir: Directory is new
- tar: etest/subdir: contains a cache directory tag excludeme; contents not dumped
- ],[],[],[gnu])
- AT_CLEANUP
|