12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- AT_SETUP([extract + fnmatch])
- AT_KEYWORDS([extract extract04])
- AT_TAR_CHECK([
- touch file1
- mkdir directory
- mkdir directory/subdirectory
- touch directory/file1
- touch directory/file2
- touch directory/subdirectory/file1
- touch directory/subdirectory/file2
- tar -cf archive ./file1 directory
- tar -tf archive \
- --exclude='./*1' \
- --exclude='d*/*1' \
- --exclude='d*/s*/*2' | sort 2>/dev/null
- ],
- [0],
- [directory/
- directory/file2
- directory/subdirectory/
- ])
- AT_CLEANUP
|