projects
/
platform
/
upstream
/
make.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 4.4
[platform/upstream/make.git]
/
tests
/
scripts
/
options
/
dash-e
diff --git
a/tests/scripts/options/dash-e
b/tests/scripts/options/dash-e
index
17c3fc8
..
944c39d
100644
(file)
--- 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 = "";
$details = "";
-$
extra
ENV{GOOGLE} = 'boggle';
+$ENV{GOOGLE} = 'boggle';
-open(MAKEFILE,"> $makefile");
-
-print MAKEFILE <<'EOF';
+run_make_test(q!
GOOGLE = bazzle
all:; @echo "$(GOOGLE)"
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;
1;