mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user