Skip to content

Commit 5d4565b

Browse files
Reject empty operand in cd built-in
Co-authored-by: WATANABE Yuki <[email protected]>
1 parent 4539898 commit 5d4565b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cd-y.tst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ __ERR__
2121
test_Oe -e 5 'empty operand'
2222
cd ''
2323
__IN__
24-
cd: empty directory
24+
cd: empty directory name
2525
__ERR__
2626

2727
testcase "$LINENO" 'unset PWD' \

0 commit comments

Comments
 (0)