6 use File::Path qw(mkpath rmtree);
9 my $root_from = "t/ta";
11 rmtree [$root_from, $root_to];
17 my $ret = system $^X, "-Ilib", "bin/rrr-init", $root_from;
18 my $prf = "$root_from/RECENT-1h.yaml";
19 ok(-e $prf, "recent file exists");
20 ok(-l "$root_from/RECENT.recent", "recent symlink exists");
21 my $y = YAML::Syck::LoadFile $prf;
22 ok(! defined $y->{meta}{minmax}{min}, "minmax/min is undef");
23 my $recent = $y->{recent};
24 is(ref $recent, "ARRAY", "recent is an array");
25 ok(0 == scalar @$recent, "array is empty");
32 rmtree [$root_from, $root_to];
36 # cperl-indent-level: 4