1[
2   {
3      "ret" : 0,
4      "input" : "",
5      "name" : "normalisePath",
6      "type" : "tfn",
7      "output" : ""
8   },
9   {
10      "name" : "normalisePath",
11      "input" : "/foo/bar/baz",
12      "type" : "tfn",
13      "ret" : 0,
14      "output" : "/foo/bar/baz"
15   },
16   {
17      "ret" : 0,
18      "input" : "/foo/bar\\u0000/baz",
19      "name" : "normalisePath",
20      "type" : "tfn",
21      "output" : "/foo/bar\\u0000/baz"
22   },
23   {
24      "name" : "normalisePath",
25      "input" : "x",
26      "type" : "tfn",
27      "ret" : 0,
28      "output" : "x"
29   },
30   {
31      "output" : "",
32      "name" : "normalisePath",
33      "input" : ".",
34      "type" : "tfn",
35      "ret" : 1
36   },
37   {
38      "output" : "",
39      "ret" : 1,
40      "type" : "tfn",
41      "input" : "./",
42      "name" : "normalisePath"
43   },
44   {
45      "ret" : 1,
46      "input" : "./..",
47      "name" : "normalisePath",
48      "type" : "tfn",
49      "output" : ".."
50   },
51   {
52      "ret" : 1,
53      "input" : "./../",
54      "name" : "normalisePath",
55      "type" : "tfn",
56      "output" : "../"
57   },
58   {
59      "output" : "..",
60      "ret" : 0,
61      "input" : "..",
62      "name" : "normalisePath",
63      "type" : "tfn"
64   },
65   {
66      "output" : "../",
67      "ret" : 0,
68      "input" : "../",
69      "name" : "normalisePath",
70      "type" : "tfn"
71   },
72   {
73      "output" : "..",
74      "input" : "../.",
75      "name" : "normalisePath",
76      "type" : "tfn",
77      "ret" : 1
78   },
79   {
80      "name" : "normalisePath",
81      "input" : ".././",
82      "type" : "tfn",
83      "ret" : 1,
84      "output" : "../"
85   },
86   {
87      "ret" : 0,
88      "input" : "../..",
89      "name" : "normalisePath",
90      "type" : "tfn",
91      "output" : "../.."
92   },
93   {
94      "ret" : 0,
95      "type" : "tfn",
96      "input" : "../../",
97      "name" : "normalisePath",
98      "output" : "../../"
99   },
100   {
101      "name" : "normalisePath",
102      "input" : "/dir/foo//bar",
103      "type" : "tfn",
104      "ret" : 1,
105      "output" : "/dir/foo/bar"
106   },
107   {
108      "input" : "dir/foo//bar/",
109      "type" : "tfn",
110      "name" : "normalisePath",
111      "ret" : 1,
112      "output" : "dir/foo/bar/"
113   },
114   {
115      "output" : "foo",
116      "ret" : 1,
117      "input" : "dir/../foo",
118      "type" : "tfn",
119      "name" : "normalisePath"
120   },
121   {
122      "output" : "../foo",
123      "type" : "tfn",
124      "input" : "dir/../../foo",
125      "name" : "normalisePath",
126      "ret" : 1
127   },
128   {
129      "ret" : 1,
130      "input" : "dir/./.././../../foo/bar",
131      "name" : "normalisePath",
132      "type" : "tfn",
133      "output" : "../../foo/bar"
134   },
135   {
136      "output" : "../../foo/bar",
137      "type" : "tfn",
138      "input" : "dir/./.././../../foo/bar/.",
139      "name" : "normalisePath",
140      "ret" : 1
141   },
142   {
143      "output" : "../../foo/bar/",
144      "ret" : 1,
145      "input" : "dir/./.././../../foo/bar/./",
146      "name" : "normalisePath",
147      "type" : "tfn"
148   },
149   {
150      "input" : "dir/./.././../../foo/bar/..",
151      "name" : "normalisePath",
152      "type" : "tfn",
153      "ret" : 1,
154      "output" : "../../foo"
155   },
156   {
157      "output" : "../../foo/",
158      "ret" : 1,
159      "input" : "dir/./.././../../foo/bar/../",
160      "name" : "normalisePath",
161      "type" : "tfn"
162   },
163   {
164      "ret" : 1,
165      "name" : "normalisePath",
166      "input" : "dir/./.././../../foo/bar/",
167      "type" : "tfn",
168      "output" : "../../foo/bar/"
169   },
170   {
171      "output" : "../../foo/bar",
172      "name" : "normalisePath",
173      "input" : "dir//.//..//.//..//..//foo//bar",
174      "type" : "tfn",
175      "ret" : 1
176   },
177   {
178      "name" : "normalisePath",
179      "input" : "dir//.//..//.//..//..//foo//bar//",
180      "type" : "tfn",
181      "ret" : 1,
182      "output" : "../../foo/bar/"
183   },
184   {
185      "output" : "dir",
186      "ret" : 1,
187      "input" : "dir/subdir/subsubdir/subsubsubdir/../../..",
188      "name" : "normalisePath",
189      "type" : "tfn"
190   },
191   {
192      "ret" : 1,
193      "type" : "tfn",
194      "input" : "dir/./subdir/./subsubdir/./subsubsubdir/../../..",
195      "name" : "normalisePath",
196      "output" : "dir"
197   },
198   {
199      "ret" : 1,
200      "input" : "dir/./subdir/../subsubdir/../subsubsubdir/..",
201      "type" : "tfn",
202      "name" : "normalisePath",
203      "output" : "dir"
204   },
205   {
206      "type" : "tfn",
207      "input" : "/dir/./subdir/../subsubdir/../subsubsubdir/../",
208      "name" : "normalisePath",
209      "ret" : 1,
210      "output" : "/dir/"
211   },
212   {
213      "output" : "/etc/passwd",
214      "ret" : 1,
215      "type" : "tfn",
216      "input" : "/./.././../../../../../../../\\u0000/../etc/./passwd",
217      "name" : "normalisePath"
218   }
219]
220