- Enhance .POSIX to set -e when invoking shells, as demanded by a
[make.git] / tests / scripts / variables / CURDIR
blobee7cacb1f4a732443cf511dec8a09b7caecadc19
1 #                                                                    -*-perl-*-
3 $description = "This tests the CURDIR varaible.";
5 $details = "Echo CURDIR both with and without -C.  Also ensure overrides work.";
7 open(MAKEFILE,"> $makefile");
8 print MAKEFILE "all: ; \@echo \$(CURDIR)\n";
9 close(MAKEFILE);
12 # TEST #1
13 # -------
15 &run_make_with_options($makefile,"",&get_logfile);
16 $answer = "$pwd\n";
17 &compare_output($answer,&get_logfile(1));