瀏覽代碼

(AT_TAR_MKHIER): Skip test if genfile is unable to create the file

Sergey Poznyakoff 17 年之前
父節點
當前提交
5635a428ab
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/testsuite.at

+ 2 - 2
tests/testsuite.at

@@ -84,8 +84,8 @@ test $result -eq 0 && AT_SKIP_TEST
 ])
 
 m4_define([AT_TAR_MKHIER],[
-install-sh -d $1 >/dev/null || AT_SKIP_TEST
-m4_if([$2],,,genfile --file [$1]/[$2])])
+install-sh -d $1 >/dev/null dnl
+m4_if([$2],,,&& genfile --file [$1]/[$2]) || AT_SKIP_TEST])
 
 m4_include([sparsemvp.at])