Whamcloud - gitweb
LU-12446 tests: Fix use of undefined variable under sanityn.sh/16b 46/35246/5
authorArshad Hussain <arshad.super@gmail.com>
Mon, 17 Jun 2019 18:49:02 +0000 (00:19 +0530)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 Jun 2019 21:33:49 +0000 (21:33 +0000)
commitef708dee307230c2c1fbd4872d625c09e838338b
tree939399cb57326cc1fb76ac4c96bed6b949d7e2f2
parent439520f762b093edba9af2f4ab63011eafab28d5
LU-12446 tests: Fix use of undefined variable under sanityn.sh/16b

Under sanityn.sh/16b variable STRIPE_BYTES is used to define
the block size within 'dd' command. However STRIPE_BYTES is
used undefined. This results in 'dd' command failing silently.
Although this does not affect the outcome of the test, the 'dd'
command used this way is no-op.

This patch fixes use of undefined variable under sanityn.sh:16b
by replacing variable STRIPE_BYTES with variable stripe_size.

Test-Parameters: trivial testlist=sanityn
Change-Id: I8bc947d93e339573759d5d37e800aae9bc3b4b18
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-on: https://review.whamcloud.com/35246
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/sanityn.sh