Re: [PATCH 5/9] check: Avoid that shellcheck complains that $FULL appears unused

2018-06-25 Thread Johannes Thumshirn
Looks good,
Reviewed-by: Johannes Thumshirn 
-- 
Johannes Thumshirn  Storage
jthumsh...@suse.de+49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850


[PATCH 5/9] check: Avoid that shellcheck complains that $FULL appears unused

2018-06-19 Thread Bart Van Assche
$FULL is a global variable. Avoid that shellcheck complains about it.

Signed-off-by: Bart Van Assche 
---
 check | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/check b/check
index 5f53fa105f72..f1feb96b293e 100755
--- a/check
+++ b/check
@@ -301,6 +301,8 @@ _call_test() {
local test_func="$1"
local seqres="${RESULTS_DIR}/${TEST_NAME}"
FULL="${seqres}.full"
+   # Avoid that shellcheck complains that $FULL appears unused.
+   echo "$FULL" >/dev/null
declare -A TEST_DEV_QUEUE_SAVED
 
_read_last_test_run
-- 
2.17.1