From d3568852ca0506666fbd1b613439a3916c76ed88 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Dec 2021 10:00:16 +0200 Subject: Add $relative(,) function --- tests/function/path/testscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') 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 : { -- cgit v1.1