zfstest: fix typos
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
committed by
Wolfgang Bumiller
parent
ca276fcbc2
commit
2acdffbbb5
@ -26,7 +26,7 @@ my $ctlinked = "subvol-201-disk-1";
|
|||||||
my $basesnap = '@__base__';
|
my $basesnap = '@__base__';
|
||||||
my $tests = {};
|
my $tests = {};
|
||||||
|
|
||||||
#create zfs suvol for testing
|
#create zfs subvol for testing
|
||||||
my $pool = undef;
|
my $pool = undef;
|
||||||
my $zpath = undef;
|
my $zpath = undef;
|
||||||
my $cfg = undef;
|
my $cfg = undef;
|
||||||
@ -226,7 +226,7 @@ $tests->{19} = $test19;
|
|||||||
|
|
||||||
my $test18 = sub {
|
my $test18 = sub {
|
||||||
|
|
||||||
print "\nrun test17 \"scan_zfs\"\n";
|
print "\nrun test18 \"scan_zfs\"\n";
|
||||||
my $res;
|
my $res;
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
@ -1620,7 +1620,7 @@ my $test5 = sub {
|
|||||||
$count++;
|
$count++;
|
||||||
warn "Test5 f: $@";
|
warn "Test5 f: $@";
|
||||||
}
|
}
|
||||||
print "######Ignore Output if no Test5 g: is includet######\n";
|
print "######Ignore Output if no Test5 g: is included######\n";
|
||||||
eval{
|
eval{
|
||||||
PVE::Storage::volume_snapshot_delete($cfg, "$storagename:$vmbase", '__base__');
|
PVE::Storage::volume_snapshot_delete($cfg, "$storagename:$vmbase", '__base__');
|
||||||
eval{
|
eval{
|
||||||
@ -1635,7 +1635,7 @@ my $test5 = sub {
|
|||||||
$count++;
|
$count++;
|
||||||
warn "Test5 PVE g: snapshot __base__ can be erased";
|
warn "Test5 PVE g: snapshot __base__ can be erased";
|
||||||
}
|
}
|
||||||
print "######End Ignroe#######\n";
|
print "######End Ignore#######\n";
|
||||||
};
|
};
|
||||||
$tests->{5} = $test5;
|
$tests->{5} = $test5;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user