vhost-device/crates/scsi/test/test-script.sh
Erik Schilling 8bb862d415 scsi: add some helper scripts for testing
This provides some tooling for running blktests. The README.md contains
documentation about the architecture.

I am seeing some race-conditions that sometimes lead to boot
freezes [1], so this is not really ready for automatic evaluation during
a CI pipeline.

[1] https://linaro.atlassian.net/browse/ORKO-37

Signed-off-by: Erik Schilling <erik.schilling@linaro.org>
Link: https://linaro.atlassian.net/browse/ORKO-17
2023-06-05 14:55:32 +05:30

10 lines
220 B
Bash
Executable File

#!/bin/bash -xe
dnf install -y git make g++ fio liburing-devel blktrace
git clone https://github.com/osandov/blktests.git
pushd blktests
echo "TEST_DEVS=(/dev/sdb)" > config
make -j $(nproc)
./check scsi block
popd