fprintf (stderr, "warning: \"guestfs_vg_activate_all\" has no tests\n");
fprintf (stderr, "warning: \"guestfs_vg_activate\" has no tests\n");
fprintf (stderr, "warning: \"guestfs_resize2fs\" has no tests\n");
+ fprintf (stderr, "warning: \"guestfs_e2fsck_f\" has no tests\n");
}
static int test_find_0 (void)
char device[] = "/dev/VG/LV";
int r;
suppress_error = 0;
+ r = guestfs_e2fsck_f (g, device);
+ if (r == -1)
+ return -1;
+ }
+ {
+ char device[] = "/dev/VG/LV";
+ int r;
+ suppress_error = 0;
r = guestfs_resize2fs (g, device);
if (r == -1)
return -1;
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
return -1;
}
{
- char device[] = "/dev/sda";
+ char device[] = "/dev/sda1";
device[5] = devchar;
int r;
suppress_error = 0;
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
return -1;
}
{
- char device[] = "/dev/sda";
+ char device[] = "/dev/sda1";
device[5] = devchar;
int r;
suppress_error = 0;
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
return -1;
}
{
- char device[] = "/dev/sda";
+ char device[] = "/dev/sda1";
device[5] = devchar;
int r;
suppress_error = 0;
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,
{
char device[] = "/dev/sda";
device[5] = devchar;
+ 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 device[] = "/dev/sda1";
+ device[5] = devchar;
int r;
suppress_error = 0;
r = guestfs_pvcreate (g, device);
}
{
char volgroup[] = "VG";
- char physvols_0[] = "/dev/sda";
+ char physvols_0[] = "/dev/sda1";
physvols_0[5] = devchar;
char *physvols[] = {
physvols_0,