diff options
Diffstat (limited to 'tests/scripts/options/dash-e')
-rw-r--r-- | tests/scripts/options/dash-e | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/tests/scripts/options/dash-e b/tests/scripts/options/dash-e index 17c3fc8..944c39d 100644 --- a/tests/scripts/options/dash-e +++ b/tests/scripts/options/dash-e @@ -4,21 +4,12 @@ $description = "The following test creates a makefile to ..."; $details = ""; -$extraENV{GOOGLE} = 'boggle'; +$ENV{GOOGLE} = 'boggle'; -open(MAKEFILE,"> $makefile"); - -print MAKEFILE <<'EOF'; +run_make_test(q! GOOGLE = bazzle all:; @echo "$(GOOGLE)" -EOF - -close(MAKEFILE); - -&run_make_with_options($makefile, '-e' ,&get_logfile); - -$answer = "boggle\n"; - -&compare_output($answer,&get_logfile(1)); +!, + '-e', "boggle\n"); 1; |