Skip to content

Commit

Permalink
Fix for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Dec 30, 2023
1 parent f5fa1ea commit ae08771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ res=$(LANG=C $com <<< '
{ ls /etc/passwd ; }
{ ls aaaa ; } 2> /tmp/rusty_bash2
cat /tmp/rusty_bash2 | wc -l
')
' | tr -d [:blank:])
[ "$res" == "2
/etc/passwd
1" ] || err $LINENO
Expand All @@ -264,7 +264,7 @@ res=$($com <<< '
{ cd - ; } &> /tmp/rusty_bash2
cat /tmp/rusty_bash1
cat /tmp/rusty_bash2
pwd')
pwd' | sed [email protected]@@)
[ "$res" = "/etc
/tmp
a
Expand Down

0 comments on commit ae08771

Please sign in to comment.