summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-07 17:19:05 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-07 17:19:05 +0200
commitf6ec5ecb6ef68272392a7e950b3f60194c42f1ee (patch)
tree7f1598f150f831cc0b02b737752cacd4a81bbb8a /tests
parent95f21382c1b5f51d97c04416678861b87e1bac53 (diff)
downloadlibgudev-f6ec5ecb6ef68272392a7e950b3f60194c42f1ee.tar.gz
tests: Use "skip" constant we just added
Spotted by Mike Gilbert: https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/20#note_1265114
Diffstat (limited to 'tests')
-rw-r--r--tests/test-double.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-double.c b/tests/test-double.c
index c518e7a..886fa02 100644
--- a/tests/test-double.c
+++ b/tests/test-double.c
@@ -59,7 +59,7 @@ int main(int argc, char **argv)
/* Skip if locale is unavailable */
if (setlocale (LC_NUMERIC, "fr_FR.UTF-8") == NULL)
- return 77;
+ return GNU_SKIP_RETURNCODE;
g_test_init (&argc, &argv, NULL);