numam-spdk/test/lib/scsi/scsi.sh
Tsuyoshi Uchida a5f0327897 scsi: translate nvme error to scsi error (#54)
This patch translates NVMe status code to SCSI sense according to NVM
Express: SCSI Translation Reference.

http://nvmexpress.org/wp-content/uploads/NVM_Express_-_SCSI_Translation_Reference-1_5_20150624_Gold.pdf
2016-10-28 13:06:45 -07:00

18 lines
330 B
Bash
Executable File

#!/usr/bin/env bash
set -xe
testdir=$(readlink -f $(dirname $0))
rootdir=$testdir/../../..
source $rootdir/scripts/autotest_common.sh
timing_enter scsi
$valgrind $testdir/dev/dev_ut
$testdir/init/init_ut
$valgrind $testdir/lun/lun_ut
$testdir/scsi_bdev/scsi_bdev_ut
$valgrind $testdir/scsi_nvme/scsi_nvme_ut
timing_exit scsi