aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function/path/testscript')
-rw-r--r--tests/function/path/testscript6
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
:
{