- Enhance .POSIX to set -e when invoking shells, as demanded by a
[make.git] / tests / scripts / options / dash-e
blob17c3fc865346c58a58f40edffecdced6177d4cfb
1 #                                                                    -*-perl-*-
3 $description = "The following test creates a makefile to ...";
5 $details = "";
7 $extraENV{GOOGLE} = 'boggle';
9 open(MAKEFILE,"> $makefile");
11 print MAKEFILE <<'EOF';
12 GOOGLE = bazzle
13 all:; @echo "$(GOOGLE)"
14 EOF
16 close(MAKEFILE);
18 &run_make_with_options($makefile, '-e' ,&get_logfile);
20 $answer = "boggle\n";
22 &compare_output($answer,&get_logfile(1));