summaryrefslogtreecommitdiff
path: root/tests/scripts/targets/clean
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/targets/clean')
-rw-r--r--tests/scripts/targets/clean5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/scripts/targets/clean b/tests/scripts/targets/clean
index 69f4fd1..b32c976 100644
--- a/tests/scripts/targets/clean
+++ b/tests/scripts/targets/clean
@@ -33,11 +33,10 @@ $answer = "This makefile did not clean the dir... good\n";
$answer = "$delete_command $example\n";
&run_make_with_options($makefile,"clean",&get_logfile,0);
-
-&compare_output($answer,&get_logfile(1)) || &error ("abort");
if (-f $example) {
- $test_passed = 0;
+ $test_passed = 0;
}
+&compare_output($answer,&get_logfile(1)) || &error ("abort");
1;