From 6e31dd8854ce2c156d5c83736a23dfcc0225a477 Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Sat, 17 Nov 2012 13:02:19 -0600 Subject: [PATCH] t/run/switchd.t: Add descriptions to tests lacking them. For: RT #115784 --- t/run/switchd.t | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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] -- 2.7.4