test/nvmf: make sure non-zero returns fail tests

Add 'set -e' to all nvmf test scripts.

Change-Id: I8271268a4b82335adf07719f4bde13e9086b5a77
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-07-08 14:06:26 -07:00 committed by Benjamin Walker
parent 11b0c3cc51
commit e6a5bb1067
3 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,8 @@ fi
rdma_device_init
set -e
timing_enter discovery
# Start up the NVMf target in another process

View File

@ -33,6 +33,8 @@ function filesystem_test()
rdma_device_init
set -e
timing_enter fs_test
# Start up the NVMf target in another process

View File

@ -7,6 +7,8 @@ source $rootdir/test/nvmf/common.sh
rdma_device_init
set -e
timing_enter fio
# Start up the NVMf target in another process