<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libguestfs.git/fish, branch oldlinux</title>
<subtitle>[MIRROR] library for accessing and modifying guest disk images</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/'/>
<entry>
<title>tests: Add ./run --test option.</title>
<updated>2012-06-26T22:34:30+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-26T21:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=05d4e07918bfa9907a1fa66391e8e2e2370c64d4'/>
<id>05d4e07918bfa9907a1fa66391e8e2e2370c64d4</id>
<content type='text'>
This option, when added via
  TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test
allows us to run the tests and only print the full output (including
debugging etc) when the test fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option, when added via
  TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test
allows us to run the tests and only print the full output (including
debugging etc) when the test fails.
</pre>
</div>
</content>
</entry>
<entry>
<title>fish: Allow mount-local test to be skipped with environment variable.</title>
<updated>2012-06-25T14:21:32+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-25T14:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=f27770e1412c0dbe652d490791347911aac62b24'/>
<id>f27770e1412c0dbe652d490791347911aac62b24</id>
<content type='text'>
The test uses FUSE, so we need a way to disable it on RHEL 5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test uses FUSE, so we need a way to disable it on RHEL 5.
</pre>
</div>
</content>
</entry>
<entry>
<title>launch: Treat /dev/null specially, for old KVM.</title>
<updated>2012-06-25T10:20:35+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-25T08:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=729bb9c6b5ae0c0e7c68dc802b1617936062f966'/>
<id>729bb9c6b5ae0c0e7c68dc802b1617936062f966</id>
<content type='text'>
Old KVM can't add /dev/null readonly.  Treat /dev/null as a special
case.

We also fix a few tests where /dev/null was being used with
format=qcow2.  This was always incorrect behaviour, but qemu appears
to tolerate it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old KVM can't add /dev/null readonly.  Treat /dev/null as a special
case.

We also fix a few tests where /dev/null was being used with
format=qcow2.  This was always incorrect behaviour, but qemu appears
to tolerate it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Replace truncate command with 'guestfish sparse'.</title>
<updated>2012-06-18T14:33:04+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-18T12:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=39df80dcc0e485e69048bddbf33c259ce532e50d'/>
<id>39df80dcc0e485e69048bddbf33c259ce532e50d</id>
<content type='text'>
RHEL 5 didn't have the truncate command, but we can replace:

  truncate -s SIZE FILE

with the roughly equivalent command:

  guestfish sparse FILE SIZE
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RHEL 5 didn't have the truncate command, but we can replace:

  truncate -s SIZE FILE

with the roughly equivalent command:

  guestfish sparse FILE SIZE
</pre>
</div>
</content>
</entry>
<entry>
<title>New API: guestfs_canonical_device_name.</title>
<updated>2012-06-13T22:07:26+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-13T19:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=46ed232dc2ff2f7dff91cd93a13d7ce6f2cec504'/>
<id>46ed232dc2ff2f7dff91cd93a13d7ce6f2cec504</id>
<content type='text'>
This API makes device names canonical, eg. /dev/vda1 -&gt; /dev/sda1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This API makes device names canonical, eg. /dev/vda1 -&gt; /dev/sda1.
</pre>
</div>
</content>
</entry>
<entry>
<title>fish: Change test-escapes so test is not endian-sensitive.</title>
<updated>2012-06-09T19:18:09+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-06-09T19:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=20137c8731d142797e2476e35fe724c95a8a7a06'/>
<id>20137c8731d142797e2476e35fe724c95a8a7a06</id>
<content type='text'>
The test used the external 'od' command to compare the output of
guestfish with what it's supposed to be.  Unfortunately by default
this outputs groups of 2-byte words, with the words' endianness
affected by the current hardware endianness.  For example:

x86-64$ echo -n ab | od
0000000 061141
0000002

ppc64$ echo -n ab | od
0000000 060542
0000002

By using 'od -b' instead we can output bytes instead of words, and
there is no endianness issue, and the output is clearer:

x86-64$ echo -n ab | od -b
0000000 141 142
0000002

ppc64$ echo -n ab | od -b
0000000 141 142
0000002
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test used the external 'od' command to compare the output of
guestfish with what it's supposed to be.  Unfortunately by default
this outputs groups of 2-byte words, with the words' endianness
affected by the current hardware endianness.  For example:

x86-64$ echo -n ab | od
0000000 061141
0000002

ppc64$ echo -n ab | od
0000000 060542
0000002

By using 'od -b' instead we can output bytes instead of words, and
there is no endianness issue, and the output is clearer:

x86-64$ echo -n ab | od -b
0000000 141 142
0000002

ppc64$ echo -n ab | od -b
0000000 141 142
0000002
</pre>
</div>
</content>
</entry>
<entry>
<title>fish/mount: Add better error message when -m (mount) fails (RHBZ#824043).</title>
<updated>2012-05-24T13:54:54+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-05-24T13:50:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1'/>
<id>ee9ab52bc3e087f63dcc51d3b6ac5c79277425e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fish: Remove inaccurate comment from code.</title>
<updated>2012-05-24T13:50:00+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-05-24T13:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=216a6d16abdfbc36a5514df34f59507ef825e33e'/>
<id>216a6d16abdfbc36a5514df34f59507ef825e33e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fish: Add a regression test for the 'glob' command.</title>
<updated>2012-05-02T15:35:43+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-05-02T15:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=66a525ce5a4e95fb8576ea183e06e1eb730a135d'/>
<id>66a525ce5a4e95fb8576ea183e06e1eb730a135d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fish: glob command now expands /dev/ patterns (RHBZ#635971).</title>
<updated>2012-05-02T15:33:23+00:00</updated>
<author>
<name>Richard W.M. Jones</name>
<email>rjones@redhat.com</email>
</author>
<published>2012-05-02T15:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rjones/public_git/libguestfs.git/commit/?id=620ad8eb1a5df298c5701a7b438b12f9627f06ab'/>
<id>620ad8eb1a5df298c5701a7b438b12f9627f06ab</id>
<content type='text'>
For example:

&gt;&lt;fs&gt; glob echo /dev/*
/dev/vda
/dev/vda1
/dev/vda2
/dev/vda3
&gt;&lt;fs&gt; glob echo /dev/v*/*
/dev/vg_f16x64/lv_root
/dev/vg_f16x64/lv_swap
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For example:

&gt;&lt;fs&gt; glob echo /dev/*
/dev/vda
/dev/vda1
/dev/vda2
/dev/vda3
&gt;&lt;fs&gt; glob echo /dev/v*/*
/dev/vg_f16x64/lv_root
/dev/vg_f16x64/lv_swap
</pre>
</div>
</content>
</entry>
</feed>
