Update debian/control headers Description, Origin, Bugs
[grml-unittests.git] / lvm / runit.sh
1 #!/bin/zsh
2
3 . $FRAMEWORK
4
5 CMDLINE="$CMDLINE_COMMON noprompt netscript=$URL_PREFIX:$COMMON_PORT/deploy.sh status=$URL_PREFIX:$STATUS_PORT/"
6
7 IMAGE=$(tempfile -d /dev/shm)
8 KVM_PARAMS="-hda $IMAGE"
9 TIMEOUT_TIME=180
10 TEST_NAME=lvm-tests
11 BAILOUT_CMD='rm -f $IMAGE ; kill -9 $TEST_PID 2>/dev/null'
12
13 # create sample image file
14 dd if=/dev/zero of=$IMAGE bs=1024 count=712000 2>/dev/null
15
16 # run the test (will create a bootable device
17 run_test
18 timeout
19
20 wait $SERVER_PID