@echo "SRCDIR=@srcdir@" >> test_one
@echo "DIFF_OPTS=@UNI_DIFF_OPTS@" >> test_one
@cat $(srcdir)/test_one.in >> test_one
- @chmod +x test_one
+ @chmod +x-w test_one
test_script: test_one test_script.in Makefile mke2fs.conf
@echo "Creating test_script..."
@echo "#!/bin/sh" > test_script
@echo "SRCDIR=@srcdir@" >> test_script
@cat $(srcdir)/test_script.in >> test_script
- @chmod +x test_script
+ @chmod +x-w test_script
mke2fs.conf: $(srcdir)/mke2fs.conf.in
$(CP) $(srcdir)/mke2fs.conf.in mke2fs.conf
test_post: test_pre $(TESTS)
@$(srcdir)/test_post
-check:: test_pre test_post test_script
+check:: test_pre test_script test_post
check-failed: $(basename $(wildcard *.failed))
@$(srcdir)/test_post
else
echo "$test_name: Missing test script $default_script!"
fi
- [ -f $test_name.failed ] && cat $test_name.failed
fi
+[ -f $test_name.failed ] && cat $test_name.failed
if [ "$SKIP_UNLINK" != "true" ] ; then
rm -f $TMPFILE