From: James E Keenan Date: Sat, 17 Nov 2012 19:02:19 +0000 (-0600) Subject: t/run/switchd.t: Add descriptions to tests lacking them. X-Git-Tag: upstream/5.20.0~4654 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e31dd8854ce2c156d5c83736a23dfcc0225a477;p=platform%2Fupstream%2Fperl.git t/run/switchd.t: Add descriptions to tests lacking them. For: RT #115784 --- diff --git a/t/run/switchd.t b/t/run/switchd.t index d2a56bb..4334262 100644 --- a/t/run/switchd.t +++ b/t/run/switchd.t @@ -35,19 +35,25 @@ __SWDTEST__ progfile => $filename, args => ['3'], ); - like($r, qr/^sub;import;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/); + like($r, +qr/^sub;import;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/, + 'Got debugging output: 1'); $r = runperl( switches => [ '-Ilib', '-f', '-d:switchd=a,42' ], progfile => $filename, args => ['4'], ); - like($r, qr/^sub;import;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/); + like($r, +qr/^sub;import;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/, + 'Got debugging output: 2'); $r = runperl( switches => [ '-Ilib', '-f', '-d:-switchd=a,42' ], progfile => $filename, args => ['4'], ); - like($r, qr/^sub;unimport;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/); + like($r, +qr/^sub;unimport;DB;sub;DB;DB;sub;DB;sub;DB;sub;DB;$/, + 'Got debugging output: 3'); } # [perl #71806]