git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
capitests: Use ftruncate instead of seek + write to create test files.
[libguestfs.git]
/
regressions
/
test-bootbootboot.sh
diff --git
a/regressions/test-bootbootboot.sh
b/regressions/test-bootbootboot.sh
index
05ff6df
..
d3a30a3
100755
(executable)
--- a/
regressions/test-bootbootboot.sh
+++ b/
regressions/test-bootbootboot.sh
@@
-1,4
+1,4
@@
-#!/bin/sh -
+#!/bin/
ba
sh -
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
@@
-24,17
+24,15
@@
set -e
rm -f test1.img
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=500
n=10
if [ -n "$1" ]; then n=$1; fi
export LIBGUESTFS_DEBUG=1
n=10
if [ -n "$1" ]; then n=$1; fi
export LIBGUESTFS_DEBUG=1
-export LIBGUESTFS_PATH=../appliance
for i in $(seq 1 $n); do
echo Test boot $i of $n ...
for i in $(seq 1 $n); do
echo Test boot $i of $n ...
- ../fish/guestfish -
a test1.img run
+ ../fish/guestfish -
N disk </dev/null
done
rm test1.img
done
rm test1.img