Fix namespace contamination in testsuite.
* tests/append01.at: Use m4_pushdef/m4_popdef to define local macros. * tests/delete03.at: Likewise. * tests/exclude06.at: Likewise. * tests/incr04.at: Likewise. * tests/link03.at: Likewise. * tests/long01.at: Likewise. * tests/longv7.at: Likewise. * tests/lustar01.at: Likewise. * tests/lustar02.at: Likewise. * tests/lustar03.at: Likewise. * tests/multiv05.at: Likewise. * tests/sparse04.at: Likewise.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
AT_SETUP([ustar: unsplittable file name])
|
||||
AT_KEYWORDS([longname ustar lustar01])
|
||||
|
||||
m4_define([LONGNAME],
|
||||
m4_pushdef([LONGNAME],
|
||||
[this_is_a_very_long_name_for_a_file_designed_to_test_generation_of_ustar_archives_by_gnu_tar_semicolon_it_will_not_fit_the_name_field_and_cannot_be_split_between_name_and_prefix])
|
||||
|
||||
AT_TAR_CHECK([
|
||||
@@ -34,4 +34,5 @@ tar cf archive LONGNAME
|
||||
tar: Exiting with failure status due to previous errors
|
||||
],[],[],[ustar])
|
||||
|
||||
m4_popdef([LONGNAME])
|
||||
AT_CLEANUP
|
||||
|
||||
Reference in New Issue
Block a user