diff options
author | Petr Vorel <pvorel@suse.cz> | 2018-06-12 16:07:48 +0200 |
---|---|---|
committer | Petr Vorel <pvorel@suse.cz> | 2018-06-12 16:07:48 +0200 |
commit | 87dc42d146238b9c3f2e8253c1f68bf82f3399d4 (patch) | |
tree | a4e0b8763d2817a8bcbe6fe139fe47dc5348b33f /testcases/lib | |
parent | cdc9b837facdf1b77b2a4ecfa4dd7317c9cfecd2 (diff) |
tst_test.sh: Quote function parameter
As following patches shows the need to use function with parameter [1],
quotes are needed.
[1] http://lists.linux.it/pipermail/ltp/2018-May/008147.html
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Diffstat (limited to 'testcases/lib')
-rw-r--r-- | testcases/lib/tst_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh index 0c98d5a75..d27b4afd6 100644 --- a/testcases/lib/tst_test.sh +++ b/testcases/lib/tst_test.sh @@ -156,7 +156,7 @@ EXPECT_FAIL() TST_RETRY_FN_EXP_BACKOFF() { - local tst_fun=$1 + local tst_fun="$1" local tst_exp=$2 local tst_sec=$(expr $3 \* 1000000) local tst_delay=1 |