[Skiboot] [PATCH 1/2] external/test: Create an external test harness
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Sep 8 07:55:41 AEST 2015
Cyril Bur <cyril.bur at au1.ibm.com> writes:
> Unlike skiboot where individual functions can be tested, the external/
> binaries can sometimes only be fully tested by observing the output of the
> full binary as such this little framework designed to grab stdout and
> stderr and compare to provided output files should prove useful.
>
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
> ---
> external/test/test.sh | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 80 insertions(+)
> create mode 100755 external/test/test.sh
>
> diff --git a/external/test/test.sh b/external/test/test.sh
> new file mode 100755
> index 0000000..98fddf8
> --- /dev/null
> +++ b/external/test/test.sh
> @@ -0,0 +1,80 @@
> +#! /bin/sh
Needs (C) header.
More information about the Skiboot
mailing list