1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- AT_SETUP([working -l with
- AT_KEYWORDS([hardlinks link03])
- m4_define([create_files],[
- genfile -l 64 -f file1
- link file1 file2
- link file2 file3
- link file3 file4
- ])
- AT_TAR_CHECK([
- create_files
- echo archive.1
- tar -c -f archive.1 -l
- create_files
- echo archive.2
- tar -c -f archive.2 -l
- echo testing archive.2
- tar tfv archive.2 | sed -n 's/.*file[[2-3]] link to //p'
- ],
- [0],
- [archive.1
- archive.2
- testing archive.2
- file1
- file1
- ],
- [tar: Missing links to `file1'.
- ])
- AT_CLEANUP
|