Module Name: src
Committed By: rillig
Date: Fri Jul 3 19:21:11 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: modmisc.exp
Log Message:
make(1): add expected test result for modmisc
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/modmisc.exp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/modmisc.exp
diff -u src/usr.bin/make/unit-tests/modmisc.exp:1.6 src/usr.bin/make/unit-tests/modmisc.exp:1.7
--- src/usr.bin/make/unit-tests/modmisc.exp:1.6 Fri Jul 3 18:41:50 2020
+++ src/usr.bin/make/unit-tests/modmisc.exp Fri Jul 3 19:21:11 2020
@@ -7,8 +7,8 @@ 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
-head of 'a/b/c def archive.tar.gz conf.d/file' is 'a/b . . conf.d'
-tail of 'a/b/c def archive.tar.gz conf.d/file' is 'c def archive.tar.gz file'
-suffix of 'a/b/c def archive.tar.gz conf.d/file' is 'gz d/file'
-root of 'a/b/c def archive.tar.gz conf.d/file' is 'a/b/c def archive.tar conf'
+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'
exit status 0