Skip test if genfile is unable to create the file

This commit is contained in:
Sergey Poznyakoff
2007-06-21 08:51:03 +00:00
parent 5635a428ab
commit 89a91c7b44

View File

@@ -25,7 +25,7 @@ m4_define([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([
genfile --file=LONGNAME
genfile --file=LONGNAME || AT_SKIP_TEST
tar cf archive LONGNAME
],
[2],