[LTP] [RFC PATCH 1/2] Add support for mixing C and shell code
Cyril Hrubis
chrubis@suse.cz
Wed Jul 24 12:05:00 CEST 2024
Hi!
> That still doesn't solve the incorrect return value from the script if
> it's intentionally possible to run it as a stand-alone test, without any
> parent process written in C.
I do not think that it will make sense or be possible to use these
scripts without the C library. The whole point of this patchset is to
use as much of the C library as possible so that we do not have to
reimplement it in shell. Which would mean that most of the functionality
needed to run these shell tests will not we available without the C
library.
Maybe these script shouldn't have a shebang and shouldn't have
executable flag so that people are not confused about this. The test
library can run them with /bin/sh $filename instead.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list