diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2019-06-10 16:58:55 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2019-06-10 17:53:08 +0000 |
commit | 6e507c8cb41b0d48963503a88034348d74506211 (patch) | |
tree | 396c754ab7983c06be1bb966304d91e8bfdcd389 /t | |
parent | 45890d532f0ea68f5879b036b22d9dbd4e19754c (diff) | |
download | public-inbox-6e507c8cb41b0d48963503a88034348d74506211.tar.gz |
Fill in undef as "(unchanged)" when displaying commits and prefix the epoch name.
Diffstat (limited to 't')
-rw-r--r-- | t/purge.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,7 +57,7 @@ is($? >> 8, 1, 'missed purge exits with 1'); # a successful case: ok(IPC::Run::run([$purge, $mainrepo], \$raw, \$out, \$err), 'match OK'); -like($out, qr/^\t[a-f0-9]{40,}/m, 'removed commit noted'); +like($out, qr/\b[a-f0-9]{40,}/m, 'removed commit noted'); # add (old) vger filter to config file print $cfg_fh <<EOF or die "print $!"; @@ -85,7 +85,7 @@ $out = $err = ''; ok(chdir('/'), "chdir / OK for --all test"); ok(IPC::Run::run([$purge, '--all'], \$pre_scrub, \$out, \$err), 'scrub purge OK'); -like($out, qr/^\t[a-f0-9]{40,}/m, 'removed commit noted'); +like($out, qr/\b[a-f0-9]{40,}/m, 'removed commit noted'); # diag "out: $out"; diag "err: $err"; $out = $err = ''; |