1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Test busybox is installed

This commit is contained in:
grossmj 2024-02-22 13:05:48 +08:00
parent 84db3b9996
commit 0137688ba7
No known key found for this signature in database
GPG Key ID: 0A2D76AC45EA25CD

View File

@ -900,6 +900,7 @@ async def test_resources_installed(vm, manager, tmpdir):
assert vm.status == "started" assert vm.status == "started"
assert os.path.exists(os.path.join(docker_resources_path, "init.sh")) assert os.path.exists(os.path.join(docker_resources_path, "init.sh"))
assert os.path.exists(os.path.join(docker_resources_path, "run-cmd.sh")) assert os.path.exists(os.path.join(docker_resources_path, "run-cmd.sh"))
assert os.path.exists(os.path.join(docker_resources_path, "bin", "busybox"))
assert os.path.exists(os.path.join(docker_resources_path, "bin", "udhcpc")) assert os.path.exists(os.path.join(docker_resources_path, "bin", "udhcpc"))
assert os.path.exists(os.path.join(docker_resources_path, "etc", "udhcpc", "default.script")) assert os.path.exists(os.path.join(docker_resources_path, "etc", "udhcpc", "default.script"))