[libvirt] [PATCHv2 02/12] tests: replace references to yajl

Ján Tomko jtomko at redhat.com
Thu May 10 16:44:14 UTC 2018


Use "libvirt not compiled with JSON" instead of mentioning yajl
specifically.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 tests/qemuagenttest.c        | 2 +-
 tests/qemucapabilitiestest.c | 2 +-
 tests/qemucaps2xmltest.c     | 2 +-
 tests/qemucommandutiltest.c  | 2 +-
 tests/qemuhotplugtest.c      | 2 +-
 tests/qemumigparamstest.c    | 2 +-
 tests/qemumonitorjsontest.c  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/qemuagenttest.c b/tests/qemuagenttest.c
index f214eb461f..b9d6153540 100644
--- a/tests/qemuagenttest.c
+++ b/tests/qemuagenttest.c
@@ -908,7 +908,7 @@ mymain(void)
     int ret = 0;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemucapabilitiestest.c b/tests/qemucapabilitiestest.c
index 1b5970a4c5..bdfc97614f 100644
--- a/tests/qemucapabilitiestest.c
+++ b/tests/qemucapabilitiestest.c
@@ -140,7 +140,7 @@ mymain(void)
     testQemuData data;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemucaps2xmltest.c b/tests/qemucaps2xmltest.c
index f4838f7980..7948859d87 100644
--- a/tests/qemucaps2xmltest.c
+++ b/tests/qemucaps2xmltest.c
@@ -166,7 +166,7 @@ mymain(void)
     testQemuData data;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemucommandutiltest.c b/tests/qemucommandutiltest.c
index eb155e7e16..1801182304 100644
--- a/tests/qemucommandutiltest.c
+++ b/tests/qemucommandutiltest.c
@@ -77,7 +77,7 @@ mymain(void)
     testQemuCommandBuildObjectFromJSONData data1;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c
index 85e53653e1..7e63680f7f 100644
--- a/tests/qemuhotplugtest.c
+++ b/tests/qemuhotplugtest.c
@@ -589,7 +589,7 @@ mymain(void)
     struct testQemuHotplugCpuParams cpudata;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemumigparamstest.c b/tests/qemumigparamstest.c
index ba62aacc54..b117e5b6bb 100644
--- a/tests/qemumigparamstest.c
+++ b/tests/qemumigparamstest.c
@@ -204,7 +204,7 @@ mymain(void)
     int ret = 0;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c
index 9a83c9a608..8ebf322cd1 100644
--- a/tests/qemumonitorjsontest.c
+++ b/tests/qemumonitorjsontest.c
@@ -2865,7 +2865,7 @@ mymain(void)
     char *metaschema = NULL;
 
 #if !WITH_YAJL
-    fputs("libvirt not compiled with yajl, skipping this test\n", stderr);
+    fputs("libvirt not compiled with JSON, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif
 
-- 
2.16.1




More information about the libvir-list mailing list