fprintf (stderr, "warning: \"guestfs_scrub_freespace\" has no tests\n");
}
+static int test_wc_c_0_skip (void)
+{
+ const char *str;
+
+ str = getenv ("TEST_ONLY");
+ if (str)
+ return strstr (str, "wc_c") == NULL;
+ str = getenv ("SKIP_TEST_WC_C_0");
+ if (str && strcmp (str, "1") == 0) return 1;
+ str = getenv ("SKIP_TEST_WC_C");
+ if (str && strcmp (str, "1") == 0) return 1;
+ return 0;
+}
+
+static int test_wc_c_0 (void)
+{
+ if (test_wc_c_0_skip ()) {
+ printf ("%s skipped (reason: environment variable set)\n", "test_wc_c_0");
+ return 0;
+ }
+
+ /* InitBasicFS for test_wc_c_0: create ext2 on /dev/sda1 */
+ {
+ char device[] = "/dev/sda";
+ int r;
+ suppress_error = 0;
+ r = guestfs_blockdev_setrw (g, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_umount_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_lvm_remove_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda";
+ char lines_0[] = ",";
+ char *lines[] = {
+ lines_0,
+ NULL
+ };
+ int r;
+ suppress_error = 0;
+ r = guestfs_sfdisk (g, device, 0, 0, 0, lines);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char fstype[] = "ext2";
+ char device[] = "/dev/sda1";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mkfs (g, fstype, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda1";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount (g, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ /* TestOutputInt for wc_c (0) */
+ {
+ char options[] = "ro";
+ char vfstype[] = "squashfs";
+ char device[] = "/dev/sdd";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount_vfs (g, options, vfstype, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char path[] = "/100kallspaces";
+ int r;
+ suppress_error = 0;
+ r = guestfs_wc_c (g, path);
+ if (r == -1)
+ return -1;
+ if (r != 102400) {
+ fprintf (stderr, "test_wc_c_0: expected 102400 but got %d\n", (int) r);
+ return -1;
+ }
+ }
+ return 0;
+}
+
+static int test_wc_w_0_skip (void)
+{
+ const char *str;
+
+ str = getenv ("TEST_ONLY");
+ if (str)
+ return strstr (str, "wc_w") == NULL;
+ str = getenv ("SKIP_TEST_WC_W_0");
+ if (str && strcmp (str, "1") == 0) return 1;
+ str = getenv ("SKIP_TEST_WC_W");
+ if (str && strcmp (str, "1") == 0) return 1;
+ return 0;
+}
+
+static int test_wc_w_0 (void)
+{
+ if (test_wc_w_0_skip ()) {
+ printf ("%s skipped (reason: environment variable set)\n", "test_wc_w_0");
+ return 0;
+ }
+
+ /* InitBasicFS for test_wc_w_0: create ext2 on /dev/sda1 */
+ {
+ char device[] = "/dev/sda";
+ int r;
+ suppress_error = 0;
+ r = guestfs_blockdev_setrw (g, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_umount_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_lvm_remove_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda";
+ char lines_0[] = ",";
+ char *lines[] = {
+ lines_0,
+ NULL
+ };
+ int r;
+ suppress_error = 0;
+ r = guestfs_sfdisk (g, device, 0, 0, 0, lines);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char fstype[] = "ext2";
+ char device[] = "/dev/sda1";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mkfs (g, fstype, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda1";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount (g, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ /* TestOutputInt for wc_w (0) */
+ {
+ char options[] = "ro";
+ char vfstype[] = "squashfs";
+ char device[] = "/dev/sdd";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount_vfs (g, options, vfstype, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char path[] = "/10klines";
+ int r;
+ suppress_error = 0;
+ r = guestfs_wc_w (g, path);
+ if (r == -1)
+ return -1;
+ if (r != 10000) {
+ fprintf (stderr, "test_wc_w_0: expected 10000 but got %d\n", (int) r);
+ return -1;
+ }
+ }
+ return 0;
+}
+
+static int test_wc_l_0_skip (void)
+{
+ const char *str;
+
+ str = getenv ("TEST_ONLY");
+ if (str)
+ return strstr (str, "wc_l") == NULL;
+ str = getenv ("SKIP_TEST_WC_L_0");
+ if (str && strcmp (str, "1") == 0) return 1;
+ str = getenv ("SKIP_TEST_WC_L");
+ if (str && strcmp (str, "1") == 0) return 1;
+ return 0;
+}
+
+static int test_wc_l_0 (void)
+{
+ if (test_wc_l_0_skip ()) {
+ printf ("%s skipped (reason: environment variable set)\n", "test_wc_l_0");
+ return 0;
+ }
+
+ /* InitBasicFS for test_wc_l_0: create ext2 on /dev/sda1 */
+ {
+ char device[] = "/dev/sda";
+ int r;
+ suppress_error = 0;
+ r = guestfs_blockdev_setrw (g, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_umount_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ int r;
+ suppress_error = 0;
+ r = guestfs_lvm_remove_all (g);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda";
+ char lines_0[] = ",";
+ char *lines[] = {
+ lines_0,
+ NULL
+ };
+ int r;
+ suppress_error = 0;
+ r = guestfs_sfdisk (g, device, 0, 0, 0, lines);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char fstype[] = "ext2";
+ char device[] = "/dev/sda1";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mkfs (g, fstype, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/sda1";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount (g, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ /* TestOutputInt for wc_l (0) */
+ {
+ char options[] = "ro";
+ char vfstype[] = "squashfs";
+ char device[] = "/dev/sdd";
+ char mountpoint[] = "/";
+ int r;
+ suppress_error = 0;
+ r = guestfs_mount_vfs (g, options, vfstype, device, mountpoint);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char path[] = "/10klines";
+ int r;
+ suppress_error = 0;
+ r = guestfs_wc_l (g, path);
+ if (r == -1)
+ return -1;
+ if (r != 10000) {
+ fprintf (stderr, "test_wc_l_0: expected 10000 but got %d\n", (int) r);
+ return -1;
+ }
+ }
+ return 0;
+}
+
static int test_mkdtemp_0_skip (void)
{
const char *str;
static int test_mkdtemp_0 (void)
{
if (test_mkdtemp_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdtemp_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdtemp_0");
return 0;
}
static int test_scrub_file_0 (void)
{
if (test_scrub_file_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_scrub_file_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_scrub_file_0");
return 0;
}
static int test_scrub_device_0 (void)
{
if (test_scrub_device_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_scrub_device_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_scrub_device_0");
return 0;
}
static int test_glob_expand_0 (void)
{
if (test_glob_expand_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_glob_expand_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_glob_expand_0");
return 0;
}
static int test_glob_expand_1 (void)
{
if (test_glob_expand_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_glob_expand_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_glob_expand_1");
return 0;
}
static int test_glob_expand_2 (void)
{
if (test_glob_expand_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_glob_expand_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_glob_expand_2");
return 0;
}
static int test_ntfs_3g_probe_0 (void)
{
if (test_ntfs_3g_probe_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_ntfs_3g_probe_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_ntfs_3g_probe_0");
return 0;
}
static int test_ntfs_3g_probe_1 (void)
{
if (test_ntfs_3g_probe_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_ntfs_3g_probe_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_ntfs_3g_probe_1");
return 0;
}
static int test_sleep_0 (void)
{
if (test_sleep_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_sleep_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_sleep_0");
return 0;
}
static int test_find_0 (void)
{
if (test_find_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_find_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_find_0");
return 0;
}
static int test_find_1 (void)
{
if (test_find_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_find_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_find_1");
return 0;
}
static int test_find_2 (void)
{
if (test_find_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_find_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_find_2");
return 0;
}
static int test_lvresize_0 (void)
{
if (test_lvresize_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvresize_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvresize_0");
return 0;
}
static int test_zerofree_0 (void)
{
if (test_zerofree_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_zerofree_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_zerofree_0");
return 0;
}
static int test_hexdump_0 (void)
{
if (test_hexdump_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_hexdump_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_hexdump_0");
return 0;
}
static int test_hexdump_1 (void)
{
if (test_hexdump_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_hexdump_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_hexdump_1");
return 0;
}
static int test_strings_e_0 (void)
{
if (test_strings_e_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_strings_e_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_strings_e_0");
return 0;
}
static int test_strings_e_1 (void)
{
if (test_strings_e_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_strings_e_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_strings_e_1");
return 0;
}
static int test_strings_0 (void)
{
if (test_strings_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_strings_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_strings_0");
return 0;
}
static int test_strings_1 (void)
{
if (test_strings_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_strings_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_strings_1");
return 0;
}
static int test_equal_0 (void)
{
if (test_equal_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_equal_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_equal_0");
return 0;
}
static int test_equal_1 (void)
{
if (test_equal_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_equal_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_equal_1");
return 0;
}
static int test_equal_2 (void)
{
if (test_equal_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_equal_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_equal_2");
return 0;
}
static int test_ping_daemon_0 (void)
{
if (test_ping_daemon_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_ping_daemon_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_ping_daemon_0");
return 0;
}
static int test_dmesg_0 (void)
{
if (test_dmesg_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_dmesg_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_dmesg_0");
return 0;
}
static int test_drop_caches_0 (void)
{
if (test_drop_caches_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_drop_caches_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_drop_caches_0");
return 0;
}
static int test_mv_0 (void)
{
if (test_mv_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mv_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mv_0");
return 0;
}
static int test_mv_1 (void)
{
if (test_mv_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mv_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mv_1");
return 0;
}
static int test_cp_a_0 (void)
{
if (test_cp_a_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_cp_a_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_cp_a_0");
return 0;
}
static int test_cp_0 (void)
{
if (test_cp_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_cp_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_cp_0");
return 0;
}
static int test_cp_1 (void)
{
if (test_cp_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_cp_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_cp_1");
return 0;
}
static int test_cp_2 (void)
{
if (test_cp_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_cp_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_cp_2");
return 0;
}
static int test_grub_install_0 (void)
{
if (test_grub_install_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_grub_install_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_grub_install_0");
return 0;
}
static int test_zero_0 (void)
{
if (test_zero_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_zero_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_zero_0");
return 0;
}
static int test_fsck_0 (void)
{
if (test_fsck_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_fsck_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_fsck_0");
return 0;
}
static int test_fsck_1 (void)
{
if (test_fsck_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_fsck_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_fsck_1");
return 0;
}
static int test_set_e2uuid_0 (void)
{
if (test_set_e2uuid_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_set_e2uuid_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_set_e2uuid_0");
return 0;
}
static int test_set_e2uuid_1 (void)
{
if (test_set_e2uuid_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_set_e2uuid_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_set_e2uuid_1");
return 0;
}
static int test_set_e2uuid_2 (void)
{
if (test_set_e2uuid_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_set_e2uuid_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_set_e2uuid_2");
return 0;
}
static int test_set_e2uuid_3 (void)
{
if (test_set_e2uuid_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_set_e2uuid_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_set_e2uuid_3");
return 0;
}
static int test_set_e2label_0 (void)
{
if (test_set_e2label_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_set_e2label_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_set_e2label_0");
return 0;
}
static int test_pvremove_0 (void)
{
if (test_pvremove_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvremove_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvremove_0");
return 0;
}
static int test_pvremove_1 (void)
{
if (test_pvremove_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvremove_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvremove_1");
return 0;
}
static int test_pvremove_2 (void)
{
if (test_pvremove_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvremove_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvremove_2");
return 0;
}
static int test_vgremove_0 (void)
{
if (test_vgremove_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_vgremove_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_vgremove_0");
return 0;
}
static int test_vgremove_1 (void)
{
if (test_vgremove_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_vgremove_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_vgremove_1");
return 0;
}
static int test_lvremove_0 (void)
{
if (test_lvremove_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvremove_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvremove_0");
return 0;
}
static int test_lvremove_1 (void)
{
if (test_lvremove_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvremove_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvremove_1");
return 0;
}
static int test_lvremove_2 (void)
{
if (test_lvremove_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvremove_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvremove_2");
return 0;
}
static int test_mount_ro_0 (void)
{
if (test_mount_ro_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mount_ro_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mount_ro_0");
return 0;
}
static int test_mount_ro_1 (void)
{
if (test_mount_ro_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mount_ro_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mount_ro_1");
return 0;
}
static int test_tgz_in_0 (void)
{
if (test_tgz_in_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_tgz_in_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_tgz_in_0");
return 0;
}
static int test_tar_in_0 (void)
{
if (test_tar_in_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_tar_in_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_tar_in_0");
return 0;
}
static int test_checksum_0 (void)
{
if (test_checksum_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_0");
return 0;
}
static int test_checksum_1 (void)
{
if (test_checksum_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_1");
return 0;
}
static int test_checksum_2 (void)
{
if (test_checksum_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_2");
return 0;
}
static int test_checksum_3 (void)
{
if (test_checksum_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_3");
return 0;
}
static int test_checksum_4 (void)
{
if (test_checksum_4_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_4");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_4");
return 0;
}
static int test_checksum_5 (void)
{
if (test_checksum_5_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_5");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_5");
return 0;
}
static int test_checksum_6 (void)
{
if (test_checksum_6_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_6");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_6");
return 0;
}
static int test_checksum_7 (void)
{
if (test_checksum_7_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_7");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_7");
return 0;
}
static int test_checksum_8 (void)
{
if (test_checksum_8_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_checksum_8");
+ printf ("%s skipped (reason: environment variable set)\n", "test_checksum_8");
return 0;
}
static int test_download_0 (void)
{
if (test_download_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_download_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_download_0");
return 0;
}
static int test_upload_0 (void)
{
if (test_upload_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_upload_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_upload_0");
return 0;
}
static int test_blockdev_rereadpt_0 (void)
{
if (test_blockdev_rereadpt_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_rereadpt_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_rereadpt_0");
return 0;
}
static int test_blockdev_flushbufs_0 (void)
{
if (test_blockdev_flushbufs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_flushbufs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_flushbufs_0");
return 0;
}
static int test_blockdev_getsize64_0 (void)
{
if (test_blockdev_getsize64_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_getsize64_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_getsize64_0");
return 0;
}
static int test_blockdev_getsz_0 (void)
{
if (test_blockdev_getsz_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_getsz_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_getsz_0");
return 0;
}
static int test_blockdev_getbsz_0 (void)
{
if (test_blockdev_getbsz_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_getbsz_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_getbsz_0");
return 0;
}
static int test_blockdev_getss_0 (void)
{
if (test_blockdev_getss_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_getss_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_getss_0");
return 0;
}
static int test_blockdev_getro_0 (void)
{
if (test_blockdev_getro_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_getro_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_getro_0");
return 0;
}
static int test_blockdev_setrw_0 (void)
{
if (test_blockdev_setrw_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_setrw_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_setrw_0");
return 0;
}
static int test_blockdev_setro_0 (void)
{
if (test_blockdev_setro_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_blockdev_setro_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_blockdev_setro_0");
return 0;
}
static int test_statvfs_0 (void)
{
if (test_statvfs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_statvfs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_statvfs_0");
return 0;
}
static int test_lstat_0 (void)
{
if (test_lstat_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lstat_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lstat_0");
return 0;
}
static int test_stat_0 (void)
{
if (test_stat_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_stat_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_stat_0");
return 0;
}
static int test_command_lines_0 (void)
{
if (test_command_lines_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_0");
return 0;
}
static int test_command_lines_1 (void)
{
if (test_command_lines_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_1");
return 0;
}
static int test_command_lines_2 (void)
{
if (test_command_lines_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_2");
return 0;
}
static int test_command_lines_3 (void)
{
if (test_command_lines_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_3");
return 0;
}
static int test_command_lines_4 (void)
{
if (test_command_lines_4_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_4");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_4");
return 0;
}
static int test_command_lines_5 (void)
{
if (test_command_lines_5_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_5");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_5");
return 0;
}
static int test_command_lines_6 (void)
{
if (test_command_lines_6_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_6");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_6");
return 0;
}
static int test_command_lines_7 (void)
{
if (test_command_lines_7_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_7");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_7");
return 0;
}
static int test_command_lines_8 (void)
{
if (test_command_lines_8_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_8");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_8");
return 0;
}
static int test_command_lines_9 (void)
{
if (test_command_lines_9_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_9");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_9");
return 0;
}
static int test_command_lines_10 (void)
{
if (test_command_lines_10_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_lines_10");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_lines_10");
return 0;
}
static int test_command_0 (void)
{
if (test_command_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_0");
return 0;
}
static int test_command_1 (void)
{
if (test_command_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_1");
return 0;
}
static int test_command_2 (void)
{
if (test_command_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_2");
return 0;
}
static int test_command_3 (void)
{
if (test_command_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_3");
return 0;
}
static int test_command_4 (void)
{
if (test_command_4_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_4");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_4");
return 0;
}
static int test_command_5 (void)
{
if (test_command_5_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_5");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_5");
return 0;
}
static int test_command_6 (void)
{
if (test_command_6_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_6");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_6");
return 0;
}
static int test_command_7 (void)
{
if (test_command_7_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_7");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_7");
return 0;
}
static int test_command_8 (void)
{
if (test_command_8_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_8");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_8");
return 0;
}
static int test_command_9 (void)
{
if (test_command_9_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_9");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_9");
return 0;
}
static int test_command_10 (void)
{
if (test_command_10_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_10");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_10");
return 0;
}
static int test_command_11 (void)
{
if (test_command_11_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_command_11");
+ printf ("%s skipped (reason: environment variable set)\n", "test_command_11");
return 0;
}
static int test_file_0 (void)
{
if (test_file_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_file_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_file_0");
return 0;
}
static int test_file_1 (void)
{
if (test_file_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_file_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_file_1");
return 0;
}
static int test_file_2 (void)
{
if (test_file_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_file_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_file_2");
return 0;
}
static int test_umount_all_0 (void)
{
if (test_umount_all_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_umount_all_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_umount_all_0");
return 0;
}
static int test_umount_all_1 (void)
{
if (test_umount_all_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_umount_all_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_umount_all_1");
return 0;
}
static int test_mounts_0 (void)
{
if (test_mounts_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mounts_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mounts_0");
return 0;
}
static int test_umount_0 (void)
{
if (test_umount_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_umount_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_umount_0");
return 0;
}
static int test_umount_1 (void)
{
if (test_umount_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_umount_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_umount_1");
return 0;
}
static int test_write_file_0 (void)
{
if (test_write_file_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_0");
return 0;
}
static int test_write_file_1 (void)
{
if (test_write_file_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_1");
return 0;
}
static int test_write_file_2 (void)
{
if (test_write_file_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_2");
return 0;
}
static int test_write_file_3 (void)
{
if (test_write_file_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_3");
return 0;
}
static int test_write_file_4 (void)
{
if (test_write_file_4_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_4");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_4");
return 0;
}
static int test_write_file_5 (void)
{
if (test_write_file_5_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_write_file_5");
+ printf ("%s skipped (reason: environment variable set)\n", "test_write_file_5");
return 0;
}
static int test_mkfs_0 (void)
{
if (test_mkfs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkfs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkfs_0");
return 0;
}
static int test_lvcreate_0 (void)
{
if (test_lvcreate_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvcreate_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvcreate_0");
return 0;
}
static int test_vgcreate_0 (void)
{
if (test_vgcreate_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_vgcreate_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_vgcreate_0");
return 0;
}
static int test_pvcreate_0 (void)
{
if (test_pvcreate_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvcreate_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvcreate_0");
return 0;
}
static int test_is_dir_0 (void)
{
if (test_is_dir_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_is_dir_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_is_dir_0");
return 0;
}
static int test_is_dir_1 (void)
{
if (test_is_dir_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_is_dir_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_is_dir_1");
return 0;
}
static int test_is_file_0 (void)
{
if (test_is_file_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_is_file_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_is_file_0");
return 0;
}
static int test_is_file_1 (void)
{
if (test_is_file_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_is_file_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_is_file_1");
return 0;
}
static int test_exists_0 (void)
{
if (test_exists_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_exists_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_exists_0");
return 0;
}
static int test_exists_1 (void)
{
if (test_exists_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_exists_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_exists_1");
return 0;
}
static int test_mkdir_p_0 (void)
{
if (test_mkdir_p_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_p_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_p_0");
return 0;
}
static int test_mkdir_p_1 (void)
{
if (test_mkdir_p_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_p_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_p_1");
return 0;
}
static int test_mkdir_p_2 (void)
{
if (test_mkdir_p_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_p_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_p_2");
return 0;
}
static int test_mkdir_p_3 (void)
{
if (test_mkdir_p_3_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_p_3");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_p_3");
return 0;
}
static int test_mkdir_p_4 (void)
{
if (test_mkdir_p_4_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_p_4");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_p_4");
return 0;
}
static int test_mkdir_0 (void)
{
if (test_mkdir_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_0");
return 0;
}
static int test_mkdir_1 (void)
{
if (test_mkdir_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mkdir_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mkdir_1");
return 0;
}
static int test_rm_rf_0 (void)
{
if (test_rm_rf_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rm_rf_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rm_rf_0");
return 0;
}
static int test_rmdir_0 (void)
{
if (test_rmdir_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rmdir_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rmdir_0");
return 0;
}
static int test_rmdir_1 (void)
{
if (test_rmdir_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rmdir_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rmdir_1");
return 0;
}
static int test_rmdir_2 (void)
{
if (test_rmdir_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rmdir_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rmdir_2");
return 0;
}
static int test_rm_0 (void)
{
if (test_rm_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rm_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rm_0");
return 0;
}
static int test_rm_1 (void)
{
if (test_rm_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rm_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rm_1");
return 0;
}
static int test_rm_2 (void)
{
if (test_rm_2_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_rm_2");
+ printf ("%s skipped (reason: environment variable set)\n", "test_rm_2");
return 0;
}
static int test_read_lines_0 (void)
{
if (test_read_lines_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_read_lines_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_read_lines_0");
return 0;
}
static int test_read_lines_1 (void)
{
if (test_read_lines_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_read_lines_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_read_lines_1");
return 0;
}
static int test_lvs_0 (void)
{
if (test_lvs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvs_0");
return 0;
}
static int test_lvs_1 (void)
{
if (test_lvs_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_lvs_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_lvs_1");
return 0;
}
static int test_vgs_0 (void)
{
if (test_vgs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_vgs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_vgs_0");
return 0;
}
static int test_vgs_1 (void)
{
if (test_vgs_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_vgs_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_vgs_1");
return 0;
}
static int test_pvs_0 (void)
{
if (test_pvs_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvs_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvs_0");
return 0;
}
static int test_pvs_1 (void)
{
if (test_pvs_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_pvs_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_pvs_1");
return 0;
}
static int test_list_partitions_0 (void)
{
if (test_list_partitions_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_list_partitions_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_list_partitions_0");
return 0;
}
static int test_list_partitions_1 (void)
{
if (test_list_partitions_1_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_list_partitions_1");
+ printf ("%s skipped (reason: environment variable set)\n", "test_list_partitions_1");
return 0;
}
static int test_list_devices_0 (void)
{
if (test_list_devices_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_list_devices_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_list_devices_0");
return 0;
}
static int test_ls_0 (void)
{
if (test_ls_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_ls_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_ls_0");
return 0;
}
static int test_cat_0 (void)
{
if (test_cat_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_cat_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_cat_0");
return 0;
}
static int test_touch_0 (void)
{
if (test_touch_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_touch_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_touch_0");
return 0;
}
static int test_sync_0 (void)
{
if (test_sync_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_sync_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_sync_0");
return 0;
}
static int test_mount_0 (void)
{
if (test_mount_0_skip ()) {
- printf ("%s skipped (reason: SKIP_TEST_* variable set)\n", "test_mount_0");
+ printf ("%s skipped (reason: environment variable set)\n", "test_mount_0");
return 0;
}
/* Cancel previous alarm. */
alarm (0);
- nr_tests = 153;
+ nr_tests = 156;
test_num++;
+ printf ("%3d/%3d test_wc_c_0\n", test_num, nr_tests);
+ if (test_wc_c_0 () == -1) {
+ printf ("test_wc_c_0 FAILED\n");
+ failed++;
+ }
+ test_num++;
+ printf ("%3d/%3d test_wc_w_0\n", test_num, nr_tests);
+ if (test_wc_w_0 () == -1) {
+ printf ("test_wc_w_0 FAILED\n");
+ failed++;
+ }
+ test_num++;
+ printf ("%3d/%3d test_wc_l_0\n", test_num, nr_tests);
+ if (test_wc_l_0 () == -1) {
+ printf ("test_wc_l_0 FAILED\n");
+ failed++;
+ }
+ test_num++;
printf ("%3d/%3d test_mkdtemp_0\n", test_num, nr_tests);
if (test_mkdtemp_0 () == -1) {
printf ("test_mkdtemp_0 FAILED\n");