RHEL 6: tests/regressions/rhbz895904.sh: Use `` instead of $().

Apparently bash in RHEL 6 cannot handle this unusual
multi-line use of $(...), but `` works fine.
This commit is contained in:
Richard W.M. Jones
2013-05-30 16:27:23 +01:00
parent 1c3e6cfd0a
commit e5315dee63

View File

@@ -23,7 +23,7 @@
set -e
export LANG=C
output=$(
output=`
../../fish/guestfish -N fs -m /dev/sda1 <<EOF | sort -k 3
mkdir /test
touch /test/file1
@@ -31,7 +31,7 @@ mkdir /test/subdir
write /test/subdir/file2 abc
checksums-out crc /test -
EOF
)
`
if [ "$output" != "4294967295 0 ./file1
1219131554 3 ./subdir/file2" ]; then