Skip to content

Commit

Permalink
test for negative scenario - rakudo/rakudo#4941
Browse files Browse the repository at this point in the history
  • Loading branch information
melezhik committed Jun 9, 2022
1 parent f06e3ef commit 37529d6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .tomty/pull_4941.pl6
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#!raku

=begin tomty
%(
tag => $["closed", "new_feature"]
);
=end tomty

task-run "pull_4941";

1 change: 1 addition & 0 deletions pull_4941/hook.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore_error
7 changes: 7 additions & 0 deletions pull_4941/task.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cat $root_dir/task.bash

$RAKUBIN -v

export RAKUDO_MAX_THREADS=illegal

$RAKUBIN -e 'say 1' 2>&1
1 change: 1 addition & 0 deletions pull_4941/task.check
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cannot use 'illegal' as a value for maximum threads

0 comments on commit 37529d6

Please sign in to comment.