Skip to content

Commit d0dc195

Browse files
committed
Merge pull request #122 from xapi-project/safety-label
Add a few more smoke tests
2 parents 3fe04c2 + 43490e2 commit d0dc195

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,18 @@ 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
40+
41+
./xenvm.native vgchange /dev/djstest -ay --configdir /tmp/xenvm.d $MOCK_ARG
42+
./xenvm.native vgchange /dev/djstest -an --configdir /tmp/xenvm.d $MOCK_ARG
43+
3944
./xenvm.native lvchange -ay /dev/djstest/live --configdir /tmp/xenvm.d $MOCK_ARG
4045

4146
./xenvm.native lvdisplay /dev/djstest --configdir /tmp/xenvm.d $MOCK_ARG
4247
./xenvm.native lvdisplay /dev/djstest -c --configdir /tmp/xenvm.d $MOCK_ARG
48+
./xenvm.native lvs /dev/djstest --configdir /tmp/xenvm.d $MOCK_ARG
49+
./xenvm.native pvs ./bigdisk --configdir /tmp/xenvm.d $MOCK_ARG
4350

4451
#./xenvm.native benchmark
4552
# create and connect to hosts

0 commit comments

Comments
 (0)