We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe9640 commit 2c2d7daCopy full SHA for 2c2d7da
t/run/switchd.t
@@ -9,7 +9,7 @@ BEGIN { require "./test.pl"; }
9
10
# This test depends on t/lib/Devel/switchd*.pm.
11
12
-plan(tests => 19);
+plan(tests => 20);
13
14
my $r;
15
@@ -285,3 +285,21 @@ is(
285
"42\n",
286
'-d does not conflict with sort optimisations'
287
);
288
+
289
+{
290
+local $TODO = "This crashes";
291
+is(
292
+ runperl(
293
+ switches => [ '-Ilib', '-d:switchd_empty' ],
294
+ progs => [ split "\n",
295
+ 'use bignum;
296
+ $DB::single=2;
297
+ print qq/debugged\n/;
298
+ '
299
+ ],
300
+ stderr => 1
301
+ ),
302
+ "debugged\n",
303
+ "\$DB::single set to overload"
304
+);
305
+}
0 commit comments