test/nvmf: test InCapsuleDataSize 0 in filesystem.sh
Change-Id: I939aef31473b6a7acae879fb5b03a62154390cac Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/418729 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
6138d3bc72
commit
1fcfc425bf
@ -20,15 +20,17 @@ if [ -z $NVMF_FIRST_TARGET_IP ]; then
|
||||
fi
|
||||
|
||||
timing_enter fs_test
|
||||
timing_enter start_nvmf_tgt
|
||||
|
||||
for incapsule in 0 4096; do
|
||||
# Start up the NVMf target in another process
|
||||
$NVMF_APP -c $testdir/../nvmf.conf &
|
||||
cp $testdir/../nvmf.conf /tmp/nvmf.conf
|
||||
echo "InCapsuleDataSize $incapsule" >> /tmp/nvmf.conf
|
||||
$NVMF_APP -c /tmp/nvmf.conf &
|
||||
nvmfpid=$!
|
||||
|
||||
trap "killprocess $nvmfpid; exit 1" SIGINT SIGTERM EXIT
|
||||
|
||||
waitforlisten $nvmfpid
|
||||
timing_exit start_nvmf_tgt
|
||||
|
||||
bdevs="$bdevs $($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)"
|
||||
bdevs="$bdevs $($rpc_py construct_malloc_bdev $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)"
|
||||
@ -83,4 +85,8 @@ trap - SIGINT SIGTERM EXIT
|
||||
|
||||
nvmfcleanup
|
||||
killprocess $nvmfpid
|
||||
done
|
||||
|
||||
rm -f /tmp/nvmf.conf
|
||||
|
||||
timing_exit fs_test
|
||||
|
Loading…
Reference in New Issue
Block a user