[LTP] [PATCH 1/2] runtest/smoketest: Add smoketest

Bird, Tim Tim.Bird@sony.com
Mon Sep 21 19:40:12 CEST 2020


Sorry I didn't send mine in over the weekend.  I had planned
to send it in today.  But since you beat me to it I guess you
get naming rights ("smoketest" vs "ltp-selftest-quick"). :-)
That's fine with me.


> -----Original Message-----
> From: Cyril Hrubis <chrubis@suse.cz>
> 
> This runtest file is meant to be used for infrastructure checks i.e. to
> test LTP integration with various frameworks. The testcases were choosen
> so that the testrun is fast and also represents reasonable subset of
> different LTP testcases, e.g. binary, shell, etc.
> 
> The primary reason we are adding this is that we want to get rid of
> quickhit, which has been misused for this purpose.
> 
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> CC: "Bird, Tim" <Tim.Bird@sony.com>
> CC: Petr Vorel <pvorel@suse.cz>
> ---
>  runtest/smoketest | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 runtest/smoketest
> 
> diff --git a/runtest/smoketest b/runtest/smoketest
> new file mode 100644
> index 000000000..218827a12
> --- /dev/null
> +++ b/runtest/smoketest
> @@ -0,0 +1,15 @@
> +# The purpose of this file is to have a quick integration test for various
> +# test frameworks that integrate LTP testsuite.
> +
> +access01 access01
> +chdir01 chdir01
> +fork01 fork01
> +time01 time01
> +wait02 wait02
> +write01 write01
> +symlink01 symlink01
> +stat04 symlink01 -T stat04
> +utime01A symlink01 -T utime01
> +rename01A symlink01 -T rename01
> +splice02 seq 1 20 | splice02
> +route4-change-dst route-change-dist.sh

this should be:
route4-change-dst route-change-dst.sh

$ find . -name "route-change-d*"
./testcases/network/stress/route/route-change-dst.sh

> --
> 2.26.2

Reviewed-by: Tim Bird <tim.bird@sony.com>
  -- Tim



More information about the ltp mailing list