1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/gcoap_fileserver: set CONFIG_NATIVE_ISOLATE_FS

This commit is contained in:
Benjamin Valentin 2023-03-03 16:06:02 +01:00 committed by Benjamin Valentin
parent f78911ebf7
commit 5bf83c2556
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,8 @@ ifeq (native, $(BOARD))
USEMODULE += socket_zep_hello
USEMODULE += netdev
TERMFLAGS += -z 127.0.0.1:17754 # Murdock has no IPv6 support
# make sure each instance gets their own fs
CFLAGS += -DCONFIG_NATIVE_ISOLATE_FS=1
else
USEMODULE += netdev_default
endif

View File

@ -110,6 +110,10 @@ def test_linear_topology(factory, zep_dispatch):
# make sure the content matches
assert B.cmd("md5sum /nvm0/song.txt").split()[2] == B.cmd("md5sum /nvm0/song2.txt").split()[2]
# clean up after run
B.cmd("vfs rm /nvm0/song.txt")
B.cmd("vfs rm /nvm0/song2.txt")
# terminate nodes
for n in nodes:
n.stop_term()