1 1.1 christos # -*-perl-*- 2 1.1 christos 3 1.1 christos $description = "This tests the CURDIR varaible."; 4 1.1 christos 5 1.1 christos $details = "Echo CURDIR both with and without -C. Also ensure overrides work."; 6 1.1 christos 7 1.1 christos open(MAKEFILE,"> $makefile"); 8 1.1 christos print MAKEFILE "all: ; \@echo \$(CURDIR)\n"; 9 1.1 christos close(MAKEFILE); 10 1.1 christos 11 1.1 christos 12 1.1 christos # TEST #1 13 1.1 christos # ------- 14 1.1 christos 15 1.1 christos &run_make_with_options($makefile,"",&get_logfile); 16 1.1 christos $answer = "$pwd\n"; 17 1.1 christos &compare_output($answer,&get_logfile(1)); 18 1.1 christos 19 1.1 christos 20 1.1 christos 1; 21