[sheepdog] [PATCH 6/6] tests: add support for running testcase file directly
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Thu Jun 6 03:28:17 CEST 2013
At Wed, 05 Jun 2013 17:04:15 +0800,
Liu Yuan wrote:
>
> On 06/05/2013 04:35 PM, MORITA Kazutaka wrote:
> > Currently, out test framework assumes that all the testcases are
> > executed via check script. To run a testcase script directly
> > (e.g. sudo ./001), this patch moves a variable MD to common.config,
> > assigns the default value to STORE, and makes 'iam' a global variable.
>
> We can run any files we want by check, don't we? For e.g,
>
> ./check 1 3 5
>
> just run tests/{001,003,005}
>
> and ./check 1
>
> just run tests/001
If we run tests directly, they print their outputs to console. It is
useful to create a test case.
Actually, this had been supported until recent our commits broke it,
and this is the reason the permissions of the test cases are 0755.
Thanks,
Kazutaka
More information about the sheepdog
mailing list