VirtualBox

source: kBuild/branches/GNU/src/gmake/tests/scripts/functions/realpath@ 284

Last change on this file since 284 was 283, checked in by (none), 20 years ago

This commit was manufactured by cvs2svn to create branch 'GNU'.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 943 bytes
Line 
1# -*-perl-*-
2$description = "Test the realpath functions.";
3
4$details = "";
5
6run_make_test('
7ifneq ($(realpath .),$(CURDIR))
8 $(error )
9endif
10
11ifneq ($(realpath ./),$(CURDIR))
12 $(error )
13endif
14
15ifneq ($(realpath .///),$(CURDIR))
16 $(error )
17endif
18
19ifneq ($(realpath /),/)
20 $(error )
21endif
22
23ifneq ($(realpath ///),/)
24 $(error )
25endif
26
27ifneq ($(realpath /.),/)
28 $(error )
29endif
30
31ifneq ($(realpath ///.),/)
32 $(error )
33endif
34
35ifneq ($(realpath /./),/)
36 $(error )
37endif
38
39ifneq ($(realpath /.///),/)
40 $(error )
41endif
42
43ifneq ($(realpath /..),/)
44 $(error )
45endif
46
47ifneq ($(realpath ///..),/)
48 $(error )
49endif
50
51ifneq ($(realpath /../),/)
52 $(error )
53endif
54
55ifneq ($(realpath /..///),/)
56 $(error )
57endif
58
59ifneq ($(realpath . /..),$(CURDIR) /)
60 $(error )
61endif
62
63.PHONY: all
64all: ; @:
65',
66'',
67'');
68
69
70# This tells the test driver that the perl test script executed properly.
711;
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette