test/make/TestMakeBase.gmk
changeset 55166 2ae056696b15
parent 54380 e297c7bb6469
--- a/test/make/TestMakeBase.gmk	Mon Jun 03 17:14:23 2019 -0700
+++ b/test/make/TestMakeBase.gmk	Mon Jun 03 10:28:03 2019 +0200
@@ -361,6 +361,18 @@
     RelativePath, \
 )
 
+$(call AssertEquals, \
+    $(call RelativePath, /foo/bar/baz/banan/kung, /foo/bar/baz), \
+    ./banan/kung, \
+    RelativePath, \
+)
+
+$(call AssertEquals, \
+    $(call RelativePath, /foo/bar/baz/banan/kung, /foo/bar/baz/), \
+    ./banan/kung, \
+    RelativePath, \
+)
+
 ################################################################################
 # Test ParseKeywordVariable