123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- AT_SETUP([label with non-create option])
- AT_KEYWORDS([label label05])
- AT_TAR_CHECK([
- exec <&-
- genfile
- decho "# Create volume"
- tar -c -f archive file
- decho "# Update: wrong label"
- tar -rf archive
- decho "# Update: right label"
- tar -rf archive file
- ],
- [0],
- [
- 2
- ],
- [
- tar: Archive not labeled to match `My volume'
- tar: Error is not recoverable: exiting now
- # Update: right label
- ],[],[],[gnu,oldgnu,posix])
- AT_CLEANUP
|