[LTP] Access02 and use of system() library function
Cyril Hrubis
chrubis@suse.cz
Fri Mar 31 13:29:35 CEST 2017
Hi!
> Yes it does, and the test passes.
I've pushed the fix.
> IMHO returning explicitely 0 (exit 0) will make the test even more
> robust, because 0 is the value returned by the system() library
> function call, and expected by the test.
The POSIX specification requires the sh to exit with zero if the input
file is empty or consits solely of blank lines and comments. So I would
say that file with just a shebang is robust enough.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list