diff options
author | David Howells <dhowells@redhat.com> | 2011-11-30 14:53:57 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-11-30 14:53:57 +0000 |
commit | f01cd05150dad0a0bbef6a8439ecc023b31236d5 (patch) | |
tree | 87f07744f7f6987e0e2ca4627bb4f5e0d5ae5c77 | |
parent | 34be54759d104a70b63cd011f85ae697f02c3b8f (diff) | |
download | keyutils-f01cd05150dad0a0bbef6a8439ecc023b31236d5.tar.gz |
TEST: Fix the version number extractor
Fix the expr command that extracts the keyutils version number from the keyctl
program output to handle spaces in the string produced by keyctl.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | tests/prepare.inc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prepare.inc.sh b/tests/prepare.inc.sh index 55b105b..c1e2420 100644 --- a/tests/prepare.inc.sh +++ b/tests/prepare.inc.sh @@ -40,4 +40,4 @@ else exit 9 fi -KEYUTILSVER=`expr $KEYUTILSVER : '.*keyutils-\([0-9.]*\).*'` +KEYUTILSVER=`expr "$KEYUTILSVER" : '.*keyutils-\([0-9.]*\).*'` |