xref: /netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/dash-e (revision 69606e3f5c9388e52aed8c120ad63c049ca45d8f)
1#                                                                    -*-perl-*-
2
3$description = "The following test creates a makefile to ...";
4
5$details = "";
6
7$extraENV{GOOGLE} = 'boggle';
8
9open(MAKEFILE,"> $makefile");
10
11print MAKEFILE <<'EOF';
12GOOGLE = bazzle
13all:; @echo "$(GOOGLE)"
14EOF
15
16close(MAKEFILE);
17
18&run_make_with_options($makefile, '-e' ,&get_logfile);
19
20$answer = "boggle\n";
21
22&compare_output($answer,&get_logfile(1));
23
241;
25