aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test-diskbe.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test-diskbe.pl')
-rw-r--r--lib/test-diskbe.pl15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/test-diskbe.pl b/lib/test-diskbe.pl
index 1b753f4c..e48f925a 100644
--- a/lib/test-diskbe.pl
+++ b/lib/test-diskbe.pl
@@ -73,10 +73,17 @@ if ($mode eq 'fs') {
}
}
else {
-
- my @parts = $db_man->findoutnoin();
- for my $part (@parts) {
- dumppart($db_man, $part, 0);
+ if ($mode eq 'old') {
+ my @parts = $db_man->findoutnoin();
+ for my $part (@parts) {
+ dumppart($db_man, $part, 0);
+ }
+ }
+ else {
+ my @parts = $db_man->findnopart(undef, 'parent');
+ for my $part (@parts) {
+ dumppart($db_man, $part, 0);
+ }
}
}