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 |
|
---|
6 | run_make_test('
|
---|
7 | ifneq ($(realpath .),$(CURDIR))
|
---|
8 | $(error )
|
---|
9 | endif
|
---|
10 |
|
---|
11 | ifneq ($(realpath ./),$(CURDIR))
|
---|
12 | $(error )
|
---|
13 | endif
|
---|
14 |
|
---|
15 | ifneq ($(realpath .///),$(CURDIR))
|
---|
16 | $(error )
|
---|
17 | endif
|
---|
18 |
|
---|
19 | ifneq ($(realpath /),/)
|
---|
20 | $(error )
|
---|
21 | endif
|
---|
22 |
|
---|
23 | ifneq ($(realpath ///),/)
|
---|
24 | $(error )
|
---|
25 | endif
|
---|
26 |
|
---|
27 | ifneq ($(realpath /.),/)
|
---|
28 | $(error )
|
---|
29 | endif
|
---|
30 |
|
---|
31 | ifneq ($(realpath ///.),/)
|
---|
32 | $(error )
|
---|
33 | endif
|
---|
34 |
|
---|
35 | ifneq ($(realpath /./),/)
|
---|
36 | $(error )
|
---|
37 | endif
|
---|
38 |
|
---|
39 | ifneq ($(realpath /.///),/)
|
---|
40 | $(error )
|
---|
41 | endif
|
---|
42 |
|
---|
43 | ifneq ($(realpath /..),/)
|
---|
44 | $(error )
|
---|
45 | endif
|
---|
46 |
|
---|
47 | ifneq ($(realpath ///..),/)
|
---|
48 | $(error )
|
---|
49 | endif
|
---|
50 |
|
---|
51 | ifneq ($(realpath /../),/)
|
---|
52 | $(error )
|
---|
53 | endif
|
---|
54 |
|
---|
55 | ifneq ($(realpath /..///),/)
|
---|
56 | $(error )
|
---|
57 | endif
|
---|
58 |
|
---|
59 | ifneq ($(realpath . /..),$(CURDIR) /)
|
---|
60 | $(error )
|
---|
61 | endif
|
---|
62 |
|
---|
63 | .PHONY: all
|
---|
64 | all: ; @:
|
---|
65 | ',
|
---|
66 | '',
|
---|
67 | '');
|
---|
68 |
|
---|
69 |
|
---|
70 | # This tells the test driver that the perl test script executed properly.
|
---|
71 | 1;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.