Smoke tests update

**cache_suspend 03**: added 'if' statement to recognize nvme disk and pass test correctly;
**init_script 03**: added '--force' option to start cache with 'casadm' command.

Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir_Jankowski
2019-08-21 13:27:16 +02:00
parent df5249ecfd
commit 91efcc528b
2 changed files with 5 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ run_cmd "dd if=/dev/urandom of=${DEVICE_NAME}1-2 count=1000 bs=4096 oflag=direct
run_cmd "casctl stop --flush"
run_cmd "casadm -S -d ${CACHE_DEVICE}1"
run_cmd "casadm -S -d ${CACHE_DEVICE}1 --force"
run_cmd "casctl stop"