1#!/usr/bin/env bash 2# SPDX-License-Identifier: BSD-3-Clause 3# Copyright (C) 2022 Intel Corporation 4# All rights reserved. 5# 6 7testdir=$(readlink -f $(dirname $0)) 8rootdir=$(readlink -f $testdir/../../..) 9source $rootdir/test/common/autotest_common.sh 10source $rootdir/test/nvmf/common.sh 11 12nvmftestinit 13nvmfappstart -m 0x2 14 15$rpc_py nvmf_create_transport $NVMF_TRANSPORT_OPTS -u 8192 16$rpc_py nvmf_create_subsystem nqn.2016-06.io.spdk:cnode1 -a -s SPDK00000000000001 -m 10 17$rpc_py nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode1 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT 18$rpc_py bdev_null_create NULL1 1000 512 19$rpc_py bdev_wait_for_examine 20$rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 NULL1 21 22$rootdir/test/nvme/fused_ordering/fused_ordering -r "trtype:$TEST_TRANSPORT adrfam:IPv4 traddr:$NVMF_FIRST_TARGET_IP trsvcid:$NVMF_PORT subnqn:nqn.2016-06.io.spdk:cnode1" "${NO_HUGE[@]}" 23trap - SIGINT SIGTERM EXIT 24 25nvmftestfini 26