aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-05-18 14:00:01 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-05-18 14:00:01 +0200
commitf5bb9082c59db9cc7bbf0c45edc9fe8d0d6e0903 (patch)
tree2f5355893aa4118e80ab25e0c467d9cb274016b5
parent924674dca42f832ee33128ac51b3d9c5a0ed92c0 (diff)
Fix mkfs.ext4 path if Cirros 0.5
Change-Id: I22300ceba2c5ab19fe9912a68d2163f32193c976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/cinder/write_data.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/cinder/write_data.sh b/functest/opnfv_tests/openstack/cinder/write_data.sh
index 6689309b9..16845ba31 100644
--- a/functest/opnfv_tests/openstack/cinder/write_data.sh
+++ b/functest/opnfv_tests/openstack/cinder/write_data.sh
@@ -15,7 +15,7 @@ echo "VOL_DEV_NAME: $VOL_DEV_NAME"
echo "$(lsblk -l -o NAME)"
if [ ! -z $(lsblk -l -o NAME | grep $VOL_DEV_NAME) ]; then
- sudo /usr/sbin/mkfs.ext4 -F /dev/$VOL_DEV_NAME
+ sudo mkfs.ext4 -F /dev/$VOL_DEV_NAME
sudo mount /dev/$VOL_DEV_NAME $DEST
sudo touch $DEST/new_data
if [ -f $DEST/new_data ]; then