mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
tests/regressions: Allow regression test for bug 914931 to be skipped.
This commit is contained in:
@@ -37,6 +37,15 @@ main (int argc, char *argv[])
|
||||
{
|
||||
guestfs_h *g;
|
||||
int r;
|
||||
char *str;
|
||||
|
||||
/* Allow this test to be skipped. */
|
||||
str = getenv ("SKIP_TEST_RHBZ914931");
|
||||
if (str && STREQ (str, "1")) {
|
||||
printf ("%s: test skipped because environment variable is set.\n",
|
||||
program_name);
|
||||
exit (77);
|
||||
}
|
||||
|
||||
g = guestfs_create ();
|
||||
if (!g) {
|
||||
|
||||
Reference in New Issue
Block a user