diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-15 08:57:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-05-15 09:00:16 +1000 |
commit | 2c818ec2673ab9ca117f858310f65d7fc4ca9bf0 (patch) | |
tree | 5d5e35d33eb9d095eef46f4e9373d0c2bb495b7d /test | |
parent | 235001ce0b6e9b2c04b5bc6c5f7d3b40337f3fa9 (diff) |
test: don't use ck_abort_msg outside of test runs
This function used to be called inside a test run a long time ago but moved to
a pre-setup stage without switching to the more generic litest_abort_msg.
The only error message we got is "check_msg.c:80: No messaging setup".
https://github.com/libcheck/check/issues/18#issuecomment-301217615
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/litest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/litest.c b/test/litest.c index 51e569f..89fd4f7 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1190,13 +1190,13 @@ litest_init_udev_rules(struct list *created_files) rc = mkdir(UDEV_RULES_D, 0755); if (rc == -1 && errno != EEXIST) - ck_abort_msg("Failed to create udev rules directory (%s)\n", - strerror(errno)); + litest_abort_msg("Failed to create udev rules directory (%s)\n", + strerror(errno)); rc = mkdir(UDEV_HWDB_D, 0755); if (rc == -1 && errno != EEXIST) - ck_abort_msg("Failed to create udev hwdb directory (%s)\n", - strerror(errno)); + litest_abort_msg("Failed to create udev hwdb directory (%s)\n", + strerror(errno)); litest_install_model_quirks(created_files); litest_init_all_device_udev_rules(created_files); |