warn on invalid idp-volume mapping

This commit is contained in:
ed
2025-09-14 23:20:45 +00:00
parent c03b332ec0
commit 83bd197438
3 changed files with 16 additions and 2 deletions

View File

@@ -6,11 +6,11 @@
idp-h-grp: x-idp-group
[/vu/${u}]
/
/u${u}
accs:
r: ${u}
[/vg/${g}]
/b
/g${g}
accs:
r: @${g}

View File

@@ -121,6 +121,8 @@ class TestVFS(unittest.TestCase):
self.assertNodes(au.vfs.nodes["vg"], ["iga"])
self.assertApEq(au.vfs.nodes["vu"].realpath, "")
self.assertApEq(au.vfs.nodes["vg"].realpath, "")
self.assertApEq(au.vfs.nodes["vu"].nodes["iua"].realpath, "/uiua")
self.assertApEq(au.vfs.nodes["vg"].nodes["iga"].realpath, "/giga")
self.assertAxs(au.vfs.axs, [])
self.assertAxsAt(au, "vu/iua", [["iua"]]) # same as:
self.assertAxs(self.nav(au, "vu/iua").axs, [["iua"]])