[apparmor] [PATCH] tests: Update README to reflect bash requirement

John Johansen john.johansen at canonical.com
Sat Jan 11 03:00:26 UTC 2014


On 01/10/2014 05:01 PM, Tyler Hicks wrote:
> The regression test README examples use sh when showing how to run
> individual tests but bash is needed, instead.
> 
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>

Acked-by: John Johansen <john.johansen at canonical.com>


> ---
>  tests/regression/apparmor/README | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/regression/apparmor/README b/tests/regression/apparmor/README
> index 386b614..d6f285a 100644
> --- a/tests/regression/apparmor/README
> +++ b/tests/regression/apparmor/README
> @@ -48,7 +48,7 @@ will rerun the last failed command.
>  
>  Example:
>  
> -# sh unlink.sh -r
> +# bash unlink.sh -r
>  Files retained in: /tmp/sdtest.25406-19681
>  
>  #ls -l /tmp/sdtest.25406-19681
> @@ -77,7 +77,7 @@ In order to debug more complicated test failures such as an expected
>  shell error (test harness error) it is usually necessary to rerun the test with 
>  debugging enabled, for example:
>  
> -# sh -x unlink.sh
> +# bash -x unlink.sh
>  
>  
>  Adding new tests
> 




More information about the AppArmor mailing list