Skip to content

Commit

Permalink
Add the output of macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Jan 5, 2024
1 parent 4bf8143 commit f5e2c03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test.bash
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ res=$($com <<< 'cd /; pwd')

res=$($com <<< 'cd /tmp; mkdir hoge; ln -s hoge link; cd link; pwd -L; pwd -P')
[ "$res" = "/tmp/link
/tmp/hoge" ] || err $LINENO
/tmp/hoge" ] ||
[ "$res" = "/tmp/link
/private/tmp/hoge" ] || err $LINENO

res=$($com <<< 'pwd -a 2>/tmp/rusty_bash; cat /tmp/rusty_bash')
[ "$res" = "sush: pwd: -a: invalid option
Expand Down

0 comments on commit f5e2c03

Please sign in to comment.