summaryrefslogtreecommitdiffstats
path: root/tests.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-14 13:00:12 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-14 13:00:12 +0100
commit17fa7abbb83024deb639aebf27686848e232e085 (patch)
tree9d04161e3e7a528754daecb6af4c6dd9281ee21c /tests.c
parent1eeaf2ea11a502bae686fde753b31a72e700a3ba (diff)
downloadlibguestfs-17fa7abbb83024deb639aebf27686848e232e085.tar.gz
libguestfs-17fa7abbb83024deb639aebf27686848e232e085.tar.xz
libguestfs-17fa7abbb83024deb639aebf27686848e232e085.zip
Add test prerequisites.
Diffstat (limited to 'tests.c')
-rw-r--r--tests.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests.c b/tests.c
index a61c4924..000dbac8 100644
--- a/tests.c
+++ b/tests.c
@@ -296,6 +296,12 @@ static int test_strings_e_0 (void)
return 0;
}
+static int test_strings_e_1 (void)
+{
+ printf ("%s skipped (test disabled in generator)\n", "test_strings_e_1");
+ return 0;
+}
+
static int test_strings_0 (void)
{
/* InitBasicFS for strings (0): create ext2 on /dev/sda1 */
@@ -12812,7 +12818,7 @@ int main (int argc, char *argv[])
free (devs[i]);
free (devs);
- nr_tests = 134;
+ nr_tests = 135;
test_num++;
printf ("%3d/%3d test_hexdump_0\n", test_num, nr_tests);
@@ -12827,6 +12833,12 @@ int main (int argc, char *argv[])
failed++;
}
test_num++;
+ printf ("%3d/%3d test_strings_e_1\n", test_num, nr_tests);
+ if (test_strings_e_1 () == -1) {
+ printf ("test_strings_e_1 FAILED\n");
+ failed++;
+ }
+ test_num++;
printf ("%3d/%3d test_strings_0\n", test_num, nr_tests);
if (test_strings_0 () == -1) {
printf ("test_strings_0 FAILED\n");