1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- AT_SETUP([tar --index-file=FILE --file=-])
- AT_KEYWORDS([stdout indexfile])
- AT_TAR_CHECK([
- mkdir directory
- genfile --file=directory/a --length=1035
- echo "Creating the archive"
- tar -c -v -f - --index-file=idx directory > archive
- echo "Testing the archive"
- tar -tf archive
- ],
- [0],
- [Creating the archive
- Testing the archive
- directory/
- directory/a
- ])
- AT_CLEANUP
|