1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- AT_SETUP([Several options])
- AT_KEYWORDS([options positional positional03 chdir])
- AT_CHECK([
- AT_SORT_PREREQ
- mkdir t
- cd t
- mkdir dir
- > dir/A.a
- > dir/B.a
- > dir/A.b
- tar -vcf ../a.tar --exclude '*.b' . -C dir --exclude '*.c' | sort
- ],
- [0],
- [./
- ./dir/
- ./dir/A.a
- ./dir/B.a
- ],
- [tar: The following options were used after any non-optional arguments in archive create or update mode. These options are positional and affect only arguments that follow them. Please, rearrange them properly.
- tar: -C 'dir' has no effect
- tar: --exclude '*.c' has no effect
- tar: Exiting with failure status due to previous errors
- ])
- AT_CLEANUP
|