summaryrefslogtreecommitdiffstats
path: root/tests/mount-local
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-19 11:16:35 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-19 11:22:40 +0100
commitfc86db3b3bcd884ee37cef79e22b0324df9fcae6 (patch)
tree2f7084543a63d2f06fd2e38914703e8cd434696b /tests/mount-local
parent1b94ea204d3ce9b8a114b805d2781ab0f4628d94 (diff)
downloadlibguestfs-fc86db3b3bcd884ee37cef79e22b0324df9fcae6.tar.gz
libguestfs-fc86db3b3bcd884ee37cef79e22b0324df9fcae6.tar.xz
libguestfs-fc86db3b3bcd884ee37cef79e22b0324df9fcae6.zip
build: Return 77 from skipped tests.
Diffstat (limited to 'tests/mount-local')
-rw-r--r--tests/mount-local/test-parallel-mount-local.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mount-local/test-parallel-mount-local.c b/tests/mount-local/test-parallel-mount-local.c
index 9e216297..791a7488 100644
--- a/tests/mount-local/test-parallel-mount-local.c
+++ b/tests/mount-local/test-parallel-mount-local.c
@@ -101,13 +101,13 @@ main (int argc, char *argv[])
if (skip && STREQ (skip, "1")) {
fprintf (stderr, "%s: test skipped because environment variable set.\n",
argv[0]);
- exit (EXIT_SUCCESS);
+ exit (77);
}
if (access ("/dev/fuse", W_OK) == -1) {
fprintf (stderr, "%s: test skipped because /dev/fuse is not writable.\n",
argv[0]);
- exit (EXIT_SUCCESS);
+ exit (77);
}
/* Choose the number of threads based on the amount of free memory. */