diff options
Diffstat (limited to 'make/make-3.81/tests/scripts/functions/realpath')
-rw-r--r-- | make/make-3.81/tests/scripts/functions/realpath | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/make/make-3.81/tests/scripts/functions/realpath b/make/make-3.81/tests/scripts/functions/realpath deleted file mode 100644 index 9b503b4..0000000 --- a/make/make-3.81/tests/scripts/functions/realpath +++ /dev/null @@ -1,82 +0,0 @@ -# -*-perl-*- -$description = "Test the realpath functions."; - -$details = ""; - -run_make_test(' -ifneq ($(realpath .),$(CURDIR)) - $(error ) -endif - -ifneq ($(realpath ./),$(CURDIR)) - $(error ) -endif - -ifneq ($(realpath .///),$(CURDIR)) - $(error ) -endif - -ifneq ($(realpath /),/) - $(error ) -endif - -ifneq ($(realpath /.),/) - $(error ) -endif - -ifneq ($(realpath /./),/) - $(error ) -endif - -ifneq ($(realpath /.///),/) - $(error ) -endif - -ifneq ($(realpath /..),/) - $(error ) -endif - -ifneq ($(realpath /../),/) - $(error ) -endif - -ifneq ($(realpath /..///),/) - $(error ) -endif - -ifneq ($(realpath . /..),$(CURDIR) /) - $(error ) -endif - -.PHONY: all -all: ; @: -', - '', - ''); - -# On Windows platforms, "//" means something special. So, don't do these -# tests there. - -if ($port_type ne 'W32') { - run_make_test(' -ifneq ($(realpath ///),/) - $(error ) -endif - -ifneq ($(realpath ///.),/) - $(error ) -endif - -ifneq ($(realpath ///..),/) - $(error ) -endif - -.PHONY: all -all: ; @:', - '', - ''); -} - - -# This tells the test driver that the perl test script executed properly. -1; |