Skip to content
Snippets Groups Projects
Commit 8a5f49c6 authored by Andrea Ieri's avatar Andrea Ieri
Browse files

Renamed chmod_invalidNumeric -> chmod_invalidNotOctal

Added chmod_invalidNumericTooLong to mirror mkdir_invalidModeTooLong
Fixed three more tests which had a useless check for $?
parent 45c1b357
No related branches found
No related tags found
No related merge requests found
Showing
with 9 additions and 8 deletions
umask 0022; nstouch <nsFile>; nschmod 12347777 <nsFile>; echo $?
nsls -l <nsFile> | sed "s/ */ /g"
invalid mode: 12347777
1
-rw-r--r-- 1 <userId> <groupId> 0 <month> <day> <time> <nsFile>
nsmkdir --mode=777777777 <nsDir>; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"
<nsDir>: No such file or directory
1
umask 0472; nsmkdir -p <nsDir>/child; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"
d-wx---r-x 1 <userId> <groupId> 0 <month> <day> <time> <nsDir>
0
umask 0555; nsmkdir -p <nsDir>/child; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"
d-wx-w--w- 1 <userId> <groupId> 0 <month> <day> <time> <nsDir>
0
nsmkdir --mode=555 <nsDir>; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"; echo $?
nsls -ld <nsDir> | sed "s/ */ /g"
dr-xr-xr-x 0 <userId> <groupId> 0 <month> <day> <time> <nsDir>
0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment