Merge branch 'bugfix/spiffsgen_example_test' into 'master'

example: Fix spiffsgen example test

Closes IDFCI-223

See merge request espressif/esp-idf!11255
This commit is contained in:
Angus Gratton 2020-11-18 10:31:38 +08:00
commit a22704a8f6

View File

@ -15,7 +15,7 @@ def test_examples_spiffsgen(env, extra_data):
# Expect hello.txt is read successfully
with open(os.path.join(base_dir, 'hello.txt'), 'r') as hello_txt:
dut.expect('Read from hello.txt: ' + hello_txt.read())
dut.expect('Read from hello.txt: ' + hello_txt.read().rstrip())
# Expect alice.txt MD5 hash is computed accurately
with open(os.path.join(base_dir, 'sub', 'alice.txt'), 'rb') as alice_txt: