Pino Toscano
2014-Jan-27 13:27 UTC
[Libguestfs] [PATCH] tests/mountable: add missing space in test-mountable-inspect.sh
No actual behaviour, other than getting rid of a bash warning.
---
tests/mountable/test-mountable-inspect.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/mountable/test-mountable-inspect.sh
b/tests/mountable/test-mountable-inspect.sh
index 906263b..10d1e9f 100755
--- a/tests/mountable/test-mountable-inspect.sh
+++ b/tests/mountable/test-mountable-inspect.sh
@@ -66,7 +66,7 @@ $guestfish -a test.qcow2 -i <<'EOF' >
test.output
<! echo inspect-get-product-name "`cat root.tmp`"
EOF
-if [ "$(cat test.output)" != "Fedora release 14 (Phony)"];
then
+if [ "$(cat test.output)" != "Fedora release 14 (Phony)" ];
then
echo "$0: error #2: unexpected output from
inspect-get-product-name"
cat test.output
exit 1
--
1.8.3.1
Richard W.M. Jones
2014-Jan-27 13:31 UTC
Re: [Libguestfs] [PATCH] tests/mountable: add missing space in test-mountable-inspect.sh
On Mon, Jan 27, 2014 at 02:27:12PM +0100, Pino Toscano wrote:> No actual behaviour, other than getting rid of a bash warning. > --- > tests/mountable/test-mountable-inspect.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/mountable/test-mountable-inspect.sh b/tests/mountable/test-mountable-inspect.sh > index 906263b..10d1e9f 100755 > --- a/tests/mountable/test-mountable-inspect.sh > +++ b/tests/mountable/test-mountable-inspect.sh > @@ -66,7 +66,7 @@ $guestfish -a test.qcow2 -i <<'EOF' > test.output > <! echo inspect-get-product-name "`cat root.tmp`" > EOF > > -if [ "$(cat test.output)" != "Fedora release 14 (Phony)"]; then > +if [ "$(cat test.output)" != "Fedora release 14 (Phony)" ]; then > echo "$0: error #2: unexpected output from inspect-get-product-name" > cat test.output > exit 1ACK. These kinds of very simple and obvious cleanup don't need to be posted on the list. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Possibly Parallel Threads
- [PATCH 0/3] misc tests-only changes
- [PATCH] test-data: Allow tests to be run when Btrfs is not available.
- Re: [synnefo-devel] Re: [PATCH 1/5] Remove extra space in inspect-fs-unix.c
- [PATCH 1/3] tests: specify the image format when possible
- [PATCH] inspect: use /etc/hosts for detecting Linux root (RHBZ#1203898)