summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-e
blob: 472270de8bbd5d2ccd4e2c088c6cc5fe4d04fc50 (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 = "";

$ENV{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;