Imported Upstream version 4.3
[platform/upstream/make.git] / tests / scripts / variables / CURDIR
1 #                                                                    -*-perl-*-
2
3 $description = "This tests the CURDIR variable.";
4
5 $details = "Echo CURDIR both with and without -C.  Also ensure overrides work.";
6
7
8 # TEST #1
9 # -------
10
11 run_make_test(q!
12 all: ; @echo $(CURDIR)
13 !,
14               '', "#PWD#\n");
15
16 1;