summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-e
blob: 17c3fc865346c58a58f40edffecdced6177d4cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;