diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-02 10:00:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-12-02 10:19:27 +0200 |
commit | d3568852ca0506666fbd1b613439a3916c76ed88 (patch) | |
tree | f10e01e52a283e24bdbf2ca932a261b345870ce2 /tests/function/path/testscript | |
parent | adb93716f41a3325f6d590cbfe6ecc8fa27d637e (diff) |
Add $relative(<path>,<dir-path>) function
Diffstat (limited to 'tests/function/path/testscript')
-rw-r--r-- | tests/function/path/testscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/function/path/testscript b/tests/function/path/testscript index 55d727f..b0c97c9 100644 --- a/tests/function/path/testscript +++ b/tests/function/path/testscript @@ -79,6 +79,12 @@ if! $posix EOE } +: relative +: +{ + $* <'print $relative([path] a/b/c, [dir_path] a/x/y)' >"../../b/c" : basics +} + : extension : { |