Skip to content

Commit

Permalink
Try #19856:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Aug 2, 2023
2 parents 576731c + 0c03ba5 commit d10cb6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .murdock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

# uncomment and change this to limit builds, e.g.,
#export BOARDS="samr21-xpro native"
export BOARDS="native"
# and / or
#export APPS="examples/hello-world tests/unittests"
export APPS="tests/net/gcoap_fileserver"

QUICKBUILD_BOARDS="
adafruit-itsybitsy-m4
Expand Down
6 changes: 4 additions & 2 deletions tests/net/gcoap_fileserver/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ def test_linear_topology(factory, zep_dispatch):
assert A.cmd("md5sum /const/song.txt").split()[2] == B.cmd("md5sum /nvm0/song.txt").split()[2]

# upload the file to node B (only one node should write MEMORY.bin)
A.cmd("ncput /const/song.txt coap://[" + global_addr(B.cmd("ifconfig 7"))[1] + "]/vfs/song2.txt", timeout=60)

msg = "ncput /const/song.txt coap://[" + global_addr(B.cmd("ifconfig 7"))[1] + "]/vfs/song2.txt"
print(A.cmd(msg, timeout=60))
print(B.cmd("md5sum /nvm0/song.txt"))
print(B.cmd("md5sum /nvm0/song2.txt"))
# make sure the content matches
assert B.cmd("md5sum /nvm0/song.txt").split()[2] == B.cmd("md5sum /nvm0/song2.txt").split()[2]

Expand Down

0 comments on commit d10cb6f

Please sign in to comment.