summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-e
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 11:16:30 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-05 11:16:30 -0800
commit9789b4dba120180760ec948089fc98ebab6eb28b (patch)
tree26ae9736985be2ef61032e7808b9fb0e2155c71f /tests/scripts/options/dash-e
downloadmake-9789b4dba120180760ec948089fc98ebab6eb28b.tar.gz
make-9789b4dba120180760ec948089fc98ebab6eb28b.tar.bz2
make-9789b4dba120180760ec948089fc98ebab6eb28b.zip
Imported Upstream version 3.82upstream/3.82
Diffstat (limited to 'tests/scripts/options/dash-e')
-rw-r--r--tests/scripts/options/dash-e24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/scripts/options/dash-e b/tests/scripts/options/dash-e
new file mode 100644
index 0000000..17c3fc8
--- /dev/null
+++ b/tests/scripts/options/dash-e
@@ -0,0 +1,24 @@
+# -*-perl-*-
+
+$description = "The following test creates a makefile to ...";
+
+$details = "";
+
+$extraENV{GOOGLE} = 'boggle';
+
+open(MAKEFILE,"> $makefile");
+
+print MAKEFILE <<'EOF';
+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));
+
+1;