diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-09 20:18:09 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-09 20:18:09 +0100 |
commit | 20137c8731d142797e2476e35fe724c95a8a7a06 (patch) | |
tree | 7bc249388cfe91f4fe605019bd06562726766606 /po-docs/libguestfs-docs.pot | |
parent | ac2f9a42fbdacbea4840f9334ed50575f1006089 (diff) | |
download | libguestfs-20137c8731d142797e2476e35fe724c95a8a7a06.tar.gz libguestfs-20137c8731d142797e2476e35fe724c95a8a7a06.tar.xz libguestfs-20137c8731d142797e2476e35fe724c95a8a7a06.zip |
fish: Change test-escapes so test is not endian-sensitive.
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
Diffstat (limited to 'po-docs/libguestfs-docs.pot')
0 files changed, 0 insertions, 0 deletions