From 196b8e6f275a6186d1997e1336faaa5813432a7c Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 23 Apr 2019 08:18:54 -0700 Subject: [PATCH] test/crypto: move gen_crypto.sh to test directory This script is not general purpose like gen_nvme.sh, so move it to the test directory at least for now. Signed-off-by: Jim Harris Change-Id: I22df9375a8fcd585884523f22dae8ba9354768d3 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451785 Tested-by: SPDK CI Jenkins Reviewed-by: Changpeng Liu Reviewed-by: Darek Stojaczyk --- test/bdev/blockdev.sh | 2 +- {scripts => test/bdev}/gen_crypto.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => test/bdev}/gen_crypto.sh (93%) diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index e40561007..0104ee92d 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -69,7 +69,7 @@ if [ $SPDK_TEST_RBD -eq 1 ]; then fi if [ $SPDK_TEST_CRYPTO -eq 1 ]; then - $rootdir/scripts/gen_crypto.sh Malloc6 Malloc7 >> $testdir/bdev.conf + $testdir/gen_crypto.sh Malloc6 Malloc7 >> $testdir/bdev.conf fi if hash pmempool; then diff --git a/scripts/gen_crypto.sh b/test/bdev/gen_crypto.sh similarity index 93% rename from scripts/gen_crypto.sh rename to test/bdev/gen_crypto.sh index 41c554a99..6ae66cb6e 100755 --- a/scripts/gen_crypto.sh +++ b/test/bdev/gen_crypto.sh @@ -2,7 +2,7 @@ set -e -rootdir=$(readlink -f $(dirname $0))/.. +rootdir=$(readlink -f $(dirname $0))/../.. source "$rootdir/scripts/common.sh" # base_bdev will use QAT if available, otherwise AESNI