From 2c818ec2673ab9ca117f858310f65d7fc4ca9bf0 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 15 May 2017 08:57:27 +1000 Subject: 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 --- test/litest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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); -- cgit v1.2.3