From 60cb10dd8f180de48313cf8ad173d5bddb11112b Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 8 Jan 2015 18:46:30 +0000 Subject: [PATCH] tests: fix distcheck * tests/stat32-v.test: Remove work files if the test is skipped. --- tests/stat32-v.test | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/stat32-v.test b/tests/stat32-v.test index 74373c30..8c5f479d 100755 --- a/tests/stat32-v.test +++ b/tests/stat32-v.test @@ -21,6 +21,7 @@ $truncate_cmd > "$OUT" 2>&1 || { ./stat32 $sample > /dev/null || { if [ $? -eq 77 ]; then + rm -f $sample "$OUT" framework_skip_ '32-bit stat syscall is not available' else fail_ 'stat32 failed' -- 2.40.0