git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Fix memory leak when debugging enabled (found by valgrind).
[libguestfs.git]
/
regressions
/
rhbz503169c13.sh
diff --git
a/regressions/rhbz503169c13.sh
b/regressions/rhbz503169c13.sh
index
71e29ce
..
f1cfa5e
100755
(executable)
--- a/
regressions/rhbz503169c13.sh
+++ b/
regressions/rhbz503169c13.sh
@@
-1,4
+1,4
@@
-#!/bin/sh -
+#!/bin/
ba
sh -
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
# libguestfs
# Copyright (C) 2009 Red Hat Inc.
#
@@
-14,7
+14,7
@@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+# Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
# Regression test for:
# https://bugzilla.redhat.com/show_bug.cgi?id=503169#c13
# Regression test for:
# https://bugzilla.redhat.com/show_bug.cgi?id=503169#c13
@@
-27,15
+27,8
@@
set -e
rm -f test1.img
set -e
rm -f test1.img
-dd if=/dev/zero of=test1.img bs=1024k count=10
-export LIBGUESTFS_PATH=../appliance
-
-../fish/guestfish -a test1.img <<EOF
-run
-sfdisk /dev/sda 0 0 0 ,
-mkfs ext2 /dev/sda1
-mount /dev/sda1 /
+../fish/guestfish -N fs -m /dev/sda1 <<EOF
mkdir /dev
-command /ignore-this-error
unmount-all
mkdir /dev
-command /ignore-this-error
unmount-all