summaryrefslogtreecommitdiff
path: root/tests/scripts/variables/CURDIR
blob: 1be54f1a0a2499aadcdee1973cbbc7b2fee88fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#                                                                    -*-perl-*-

$description = "This tests the CURDIR variable.";

$details = "Echo CURDIR both with and without -C.  Also ensure overrides work.";


# TEST #1
# -------

run_make_test(q!
all: ; @echo $(CURDIR)
!,
              '', "#PWD#\n");

1;