mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
fix(ctl): native rejects --env without = and timeouts outside 0-600 s
This commit is contained in:
1 parent
feff334c91
commit
5a626cd27a
2 files changed
+14
-1
No files matched your search
@@ -63,6 +63,12 @@ class NativeGuestTest {
|
||||
assertEquals(null, NativeGuest.hostLinkTarget("/bare/mount", linkRoot, binds))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun aSiblingOfAMountIsNotPartOfIt() {
|
||||
assertEquals(null, NativeGuest.hostLinkTarget("/mnt/droiddeck-sdx", linkRoot, sdBinds))
|
||||
assertEquals("$linkRoot/opt/droiddeck-sdx", NativeGuest.hostLinkTarget("/opt/droiddeck-sdx", linkRoot, sdBinds + "/real/opt:/opt/droiddeck-sd"))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun aMountInsideAnIdentityMountStillMapsItsPaths() {
|
||||
val binds = listOf("/odd/place", "/real/sd:/odd/place/sd")
|
||||
|
||||
Reference in new issue
Block a user