Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-09-25 03:01:27 +0300
committerChristopher Haster <chaster@utexas.edu>2017-10-10 13:05:57 +0300
commitac9766ee396c7382bf57661aabefe9c6f9271f48 (patch)
treec8e1caa23b22083e4f3d07d05f8f00001f9925e0 /tests
parent9db1a86498250ad078eadc7315f02b24e1a4e9a3 (diff)
Added self-hosting fuzz test using littlefs-fuse
Diffstat (limited to 'tests')
-rw-r--r--tests/template.fmt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template.fmt b/tests/template.fmt
index b6663ce..85f00bd 100644
--- a/tests/template.fmt
+++ b/tests/template.fmt
@@ -27,8 +27,8 @@ void test_assert(const char *file, unsigned line,
}}
if (v != e) {{
- printf("\033[31m%s:%u: assert %s failed, expected %jd\033[0m\n",
- file, line, s, e);
+ fprintf(stderr, "\033[31m%s:%u: assert %s failed with %jd, "
+ "expected %jd\033[0m\n", file, line, s, v, e);
exit(-2);
}}
}}