Skip to content

Commit 43490e2

Browse files
author
David Scott
committed
setup.sh: check that lvrename succeeds
Signed-off-by: David Scott <[email protected]>
1 parent 3eedb93 commit 43490e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ mkdir -p /tmp/xenvm.d
3535

3636
./xenvm.native set-vg-info --pvpath $LOOP -S /tmp/xenvmd djstest --local-allocator-path /tmp/host1-socket --uri file://local/services/xenvmd/djstest --configdir /tmp/xenvm.d $MOCK_ARG
3737

38-
./xenvm.native lvcreate -n live -L 4 djstest --configdir /tmp/xenvm.d $MOCK_ARG
38+
./xenvm.native lvcreate -n badname -L 4 djstest --configdir /tmp/xenvm.d $MOCK_ARG
39+
./xenvm.native lvrename /dev/djstest/badname /dev/djstest/live --configdir /tmp/xenvm.d $MOCK_ARG
3940

4041
./xenvm.native vgchange /dev/djstest -ay --configdir /tmp/xenvm.d $MOCK_ARG
4142
./xenvm.native vgchange /dev/djstest -an --configdir /tmp/xenvm.d $MOCK_ARG

0 commit comments

Comments
 (0)