Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests make(1): add expected test result fo...



details:   https://anonhg.NetBSD.org/src/rev/437456d7642a
branches:  trunk
changeset: 973544:437456d7642a
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Jul 03 19:21:11 2020 +0000

description:
make(1): add expected test result for modmisc

diffstat:

 usr.bin/make/unit-tests/modmisc.exp |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (16 lines):

diff -r af15e56a214b -r 437456d7642a usr.bin/make/unit-tests/modmisc.exp
--- a/usr.bin/make/unit-tests/modmisc.exp       Fri Jul 03 19:00:01 2020 +0000
+++ b/usr.bin/make/unit-tests/modmisc.exp       Fri Jul 03 19:21:11 2020 +0000
@@ -7,8 +7,8 @@
 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



Home | Main Index | Thread Index | Old Index