tests: fix distcheck

* tests/stat32-v.test: Remove work files if the test is skipped.
This commit is contained in:
Дмитрий Левин 2015-01-08 18:46:30 +00:00
parent d4a9d83235
commit 60cb10dd8f

View File

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