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:
Sergey Poznyakoff
2013-10-05 09:10:35 +03:00
parent 3125d311e1
commit 576e1fcd6a
12 changed files with 35 additions and 17 deletions

View File

@@ -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