diff --git a/usr.bin/make/unit-tests/modmisc.exp b/usr.bin/make/unit-tests/modmisc.exp index c520b656f27e..e0c600fde9df 100644 --- a/usr.bin/make/unit-tests/modmisc.exp +++ b/usr.bin/make/unit-tests/modmisc.exp @@ -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