Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created August 20, 2016 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/b77605e76bd309b9b8148756a460cf11 to your computer and use it in GitHub Desktop.
Save zoffixznet/b77605e76bd309b9b8148756a460cf11 to your computer and use it in GitHub Desktop.
/home/cpan/perl5/perlbrew/perls/perl-5.24.0/bin/perl t/harness5 --fudge --moar --keep-exit-code --verbosity=1 t/spec/S17-lowlevel/lock.t
t/spec/S17-lowlevel/lock.t ..
1..23
ok 1 - Running code under lock
ok 2 - Running another piece of code under lock
ok 3 - code that dies under lock throws
ok 4 - Code that dies in run does release the lock
ok 5 - Even from another thread
ok 6 - Lock is at least somewhat effective
ok 7 - Condition variable worked
ok 8 - Thread 1 never ran after it was tried 100 times
ok 9 - Correct result and no crash in lock/condvar use (1)
ok 10 - Correct result and no crash in lock/condvar use (2)
not ok 11 - Correct result and no crash in lock/condvar use (3)
# Failed test 'Correct result and no crash in lock/condvar use (3)'
# at t/spec/S17-lowlevel/lock.t line 152
Use of uninitialized value @out of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful. in code at /home/cpan/release/rakudo/lib/Test.pm6 (Test) line 134
# expected: '10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 820 830 840 850 860 870 880 890 900 910 920 930 940 950 960 970 980 990 1000'
# got: '10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 820 830 840 850 860 870 880 890 900 910 920 930 940 950 960 970 980 990 1000'
ok 12 - Correct result and no crash in lock/condvar use (4)
ok 13 - Correct result and no crash in lock/condvar use (5)
ok 14 - Correct result and no crash in lock/condvar use (6)
ok 15 - Correct result and no crash in lock/condvar use (7)
ok 16 - Correct result and no crash in lock/condvar use (8)
ok 17 - Correct result and no crash in lock/condvar use (9)
ok 18 - Correct result and no crash in lock/condvar use (10)
ok 19 - Correct result and no crash in lock/condvar use (11)
ok 20 - Correct result and no crash in lock/condvar use (12)
ok 21 - Correct result and no crash in lock/condvar use (13)
ok 22 - Correct result and no crash in lock/condvar use (14)
ok 23 - Correct result and no crash in lock/condvar use (15)
# Looks like you failed 1 test of 23
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment