Imported Upstream version 3.82
[platform/upstream/make.git] / tests / scripts / options / dash-e
1 #                                                                    -*-perl-*-
2
3 $description = "The following test creates a makefile to ...";
4
5 $details = "";
6
7 $extraENV{GOOGLE} = 'boggle';
8
9 open(MAKEFILE,"> $makefile");
10
11 print MAKEFILE <<'EOF';
12 GOOGLE = bazzle
13 all:; @echo "$(GOOGLE)"
14 EOF
15
16 close(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
24 1;