summaryrefslogtreecommitdiff
path: root/unit-tests/modmisc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/modmisc.exp')
-rw-r--r--unit-tests/modmisc.exp25
1 files changed, 25 insertions, 0 deletions
diff --git a/unit-tests/modmisc.exp b/unit-tests/modmisc.exp
index e406647bc41fe..fbe4edeab8b44 100644
--- a/unit-tests/modmisc.exp
+++ b/unit-tests/modmisc.exp
@@ -7,4 +7,29 @@ path_/usr/xbin=/opt/xbin/
paths=/bin /tmp / /no/such/dir /opt/xbin
PATHS=/BIN /TMP / /NO/SUCH/DIR /OPT/XBIN
The answer is 42
+dirname of 'a/b/c def a.b.c a.b/c a a.a .gitignore a a.a' is 'a/b . . a.b . . . . .'
+basename of 'a/b/c def a.b.c a.b/c a a.a .gitignore a a.a' is 'c def a.b.c c a a.a .gitignore a a.a'
+suffix of 'a/b/c def a.b.c a.b/c a a.a .gitignore a a.a' is 'c b/c a gitignore a'
+root of 'a/b/c def a.b.c a.b/c a a.a .gitignore a a.a' is 'a/b/c def a.b a a a a a'
+S:
+C:
+@:
+S:empty
+C:empty
+@:
+:a b b c:
+:a b b c:
+: b c:
+:a c:
+:x__ 3 x__ 3:
+:a b b c:
+:a b b c:
+: b c:
+make: RE substitution error: details omitted
+make: Unclosed substitution for (, missing)
+:C,word,____,:Q}:
+:a c:
+:x__ 3 x__ 3:
+:+one+ +two+ +three+:
+mod-at-resolve:w1d2d3w w2i3w w1i2d3 2i${RES3}w w1d2d3 2i${RES3} 1i${RES2}w:
exit status 0