1234567891011121314151617181920212223242526272829303132333435363738 |
- #
- #
- #
- #
- AT_SETUP([extract over parent dir that is dangling symlink])
- AT_KEYWORDS([extract extrac25])
- AT_TAR_CHECK([
- mkdir subdir
- touch subdir/a.txt
- tar -cf test.tar subdir/a.txt
- rm -rf subdir
- ln -s does_not_exist subdir
- tar -xvf test.tar
- ],
- [2],
- [subdir/a.txt
- ],
- [tar: subdir: Cannot mkdir: File exists
- tar: subdir/a.txt: Cannot open: No such file or directory
- tar: Exiting with failure status due to previous errors
- ])
- AT_CLEANUP
|