From a6e47a161240e977bac5522d85e92fff3c1c9026 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 31 Aug 2022 13:26:30 +0200 Subject: [PATCH] tests: remove slash --- test/shell/lvchange-thin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/lvchange-thin.sh b/test/shell/lvchange-thin.sh index 992ed7145..d9d261e4b 100644 --- a/test/shell/lvchange-thin.sh +++ b/test/shell/lvchange-thin.sh @@ -30,7 +30,7 @@ lvcreate -L10M -T $vg/pool # tests for checking thin-pool discard passdown are skipped pvmajor=$(get pv_field "$dev1" major) pvminor=$(get pv_field "$dev1" minor) -test "$(< "/sys/dev/block/$pvmajor\:$pvminor/queue/discard_granularity")" -ne 0 || \ +test "$(< "/sys/dev/block/$pvmajor:$pvminor/queue/discard_granularity")" -ne 0 || \ no_discard=1 #