Change-Id: I5faf840dd6649afcb53e91f1d033447f9729cee1
| ... | ... |
@@ -9,6 +9,7 @@ Devin Carlen <devin.carlen@gmail.com> |
| 9 | 9 |
Eddie Hebert <edhebert@gmail.com> |
| 10 | 10 |
Eoghan Glynn <eglynn@redhat.com> |
| 11 | 11 |
Gabriel Hurley <gabriel@strikeawe.com> |
| 12 |
+Hengqing Hu <hudayou@hotmail.com> |
|
| 12 | 13 |
Jake Dahn <admin@jakedahn.com> |
| 13 | 14 |
James E. Blair <james.blair@rackspace.com> |
| 14 | 15 |
Jason Cannavale <jason.cannavale@rackspace.com> |
| ... | ... |
@@ -147,7 +147,7 @@ cat > $LIBVIRT_XML <<EOF |
| 147 | 147 |
<interface type='network'> |
| 148 | 148 |
<source network='$NET_NAME'/> |
| 149 | 149 |
</interface> |
| 150 |
- |
|
| 150 |
+ |
|
| 151 | 151 |
<!-- The order is significant here. File must be defined first --> |
| 152 | 152 |
<serial type="file"> |
| 153 | 153 |
<source path='$vm_dir/console.log'/> |
| ... | ... |
@@ -78,7 +78,7 @@ set -o xtrace |
| 78 | 78 |
. localrc |
| 79 | 79 |
|
| 80 | 80 |
# Unlike kvm, ssh to the xen host to run tests, in case the test instance is launch with a host only network |
| 81 |
-ssh root@$XEN_IP "cd devstack && . localrc && cd tools/jenkins && ./run_test.sh $EXECUTOR_NUMBER $ADAPTER '$RC'" |
|
| 81 |
+ssh root@$XEN_IP "cd devstack && . localrc && cd tools/jenkins && ./run_test.sh $EXECUTOR_NUMBER $ADAPTER '$RC'" |
|
| 82 | 82 |
</command> |
| 83 | 83 |
</hudson.tasks.Shell> |
| 84 | 84 |
</builders> |
| ... | ... |
@@ -1,5 +1,5 @@ |
| 1 | 1 |
#!/bin/sh -e |
| 2 |
-# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com> |
|
| 2 |
+# Copyright (c) 2010-2011 Gluster, Inc. <http://www.gluster.com> |
|
| 3 | 3 |
# This initial version of this file was taken from the source tree |
| 4 | 4 |
# of GlusterFS. It was not directly attributed, but is assumed to be |
| 5 | 5 |
# Copyright (c) 2010-2011 Gluster, Inc and release GPLv3 |
| ... | ... |
@@ -88,7 +88,7 @@ EOF |
| 88 | 88 |
|
| 89 | 89 |
get_params() |
| 90 | 90 |
{
|
| 91 |
- while getopts "hicwbf:d:v:m:p:k:r:l:" OPTION; |
|
| 91 |
+ while getopts "hicwbf:d:v:m:p:k:r:l:" OPTION; |
|
| 92 | 92 |
do |
| 93 | 93 |
case $OPTION in |
| 94 | 94 |
h) usage |
| ... | ... |
@@ -246,7 +246,7 @@ create_management_vif() |
| 246 | 246 |
|
| 247 | 247 |
|
| 248 | 248 |
# This installs the interface for public traffic, only if a bridge is specified |
| 249 |
-# The interface is not configured at this stage, but it will be, once the admin |
|
| 249 |
+# The interface is not configured at this stage, but it will be, once the admin |
|
| 250 | 250 |
# tasks are complete for the services of this VPX |
| 251 | 251 |
create_public_vif() |
| 252 | 252 |
{
|
| ... | ... |
@@ -177,7 +177,7 @@ EOF |
| 177 | 177 |
/sbin/mkfs.ext3 -I 128 -m0 -F "$partition" |
| 178 | 178 |
/sbin/e2label "$partition" vpxroot |
| 179 | 179 |
make_fs_inner "$staging" "$partition" "" |
| 180 |
- |
|
| 180 |
+ |
|
| 181 | 181 |
# Now run grub on the image we've created |
| 182 | 182 |
CLEAN_MOUNTPOINT=$(mktemp -d "$TMPDIR/mkfs-XXXXXX") |
| 183 | 183 |
|
| ... | ... |
@@ -203,7 +203,7 @@ EOF |
| 203 | 203 |
|
| 204 | 204 |
$SUDO umount "$CLEAN_MOUNTPOINT" |
| 205 | 205 |
CLEAN_MOUNTPOINT= |
| 206 |
- |
|
| 206 |
+ |
|
| 207 | 207 |
# Grub expects a disk with name /dev/xxxx with a first partition |
| 208 | 208 |
# named /dev/xxxx1, so we give it what it wants using symlinks |
| 209 | 209 |
# Note: /dev is linked to the real /dev of the build machine, so |
| ... | ... |
@@ -214,14 +214,14 @@ EOF |
| 214 | 214 |
rm -f "$disk_part1_name" |
| 215 | 215 |
ln -s "$CLEAN_LOSETUP" "$disk_name" |
| 216 | 216 |
ln -s "$partition" "$disk_part1_name" |
| 217 |
- |
|
| 217 |
+ |
|
| 218 | 218 |
# Feed commands into the grub shell to setup the disk |
| 219 | 219 |
grub --no-curses --device-map=/dev/null <<EOF |
| 220 | 220 |
device (hd0) $disk_name |
| 221 | 221 |
setup (hd0) (hd0,0) |
| 222 | 222 |
quit |
| 223 | 223 |
EOF |
| 224 |
- |
|
| 224 |
+ |
|
| 225 | 225 |
# Cleanup |
| 226 | 226 |
rm -f "$disk_name" |
| 227 | 227 |
rm -f "$disk_part1_name" |
| ... | ... |
@@ -253,7 +253,7 @@ splitvdi () {
|
| 253 | 253 |
local n_bytes=$(stat --printf=%s "$diskimg") |
| 254 | 254 |
local n_meg=$((($n_bytes+$((1024*1024 -1)))/$((1024*1024)))) |
| 255 | 255 |
local i=0 |
| 256 |
- while [ $i -lt $n_meg ] ; do |
|
| 256 |
+ while [ $i -lt $n_meg ] ; do |
|
| 257 | 257 |
if [ $rio -eq 0 ] ; then |
| 258 | 258 |
local file="$outputdir"/chunk-$(printf "%08d" $i) |
| 259 | 259 |
dd if="$diskimg" of="$file" skip=$i bs=1M count=1 2>/dev/null |
| ... | ... |
@@ -359,7 +359,7 @@ done |
| 359 | 359 |
|
| 360 | 360 |
|
| 361 | 361 |
# cleanup |
| 362 |
-if [ -z "${DO_NOT_CLEANUP:-}" ] ; then
|
|
| 362 |
+if [ -z "${DO_NOT_CLEANUP:-}" ] ; then
|
|
| 363 | 363 |
rm -rf "$XVA_TARBALL_STAGING" |
| 364 | 364 |
rm -f "$FS_TMPFILE" |
| 365 | 365 |
fi |