Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sekiguchi-nagisa committed Dec 7, 2023
1 parent 44ffd1a commit bb1f741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/exec/cases/base/builtin_kill.ds
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ ${$SCRIPT_NAME.basename()}:69: kill: hoge: invalid signal specification
HUP"
assert {kill -l 9 hoge 1; $?} == 1

if $OSTYPE == 'linux' {
if (test -e /dev/full) {
assert "$(kill -l 9 1 2>&1 > /dev/full)" =~ $/kill: io error: .+/
assert $? == 1
}

if $OSTYPE == 'linux' {
if (test -e /dev/full) {
assert "$(kill -l HUP KILL 2>&1 > /dev/full)" =~ $/kill: io error: .+/
assert $? == 1
}
Expand Down

0 comments on commit bb1f741

Please sign in to comment.