summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-11-11 13:30:09 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-11-22 14:44:53 +0000
commit849bcd25e6832d0ff2f7cf410577b4a67b2e3b1c (patch)
tree9e42f74e14dbf377da2413989ae4c33698877e04
parent20359767c6a7b0e091f0132baac9974727991cc6 (diff)
downloadlibguestfs-849bcd25e6832d0ff2f7cf410577b4a67b2e3b1c.tar.gz
libguestfs-849bcd25e6832d0ff2f7cf410577b4a67b2e3b1c.tar.xz
libguestfs-849bcd25e6832d0ff2f7cf410577b4a67b2e3b1c.zip
df: Disable part of virt-df test.
See: https://www.redhat.com/archives/libguestfs/2011-November/msg00051.html (cherry picked from commit 6e6b3ff35f9baafb22d5459ca13c112b1e00ae1b)
-rwxr-xr-xdf/test-virt-df.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/df/test-virt-df.sh b/df/test-virt-df.sh
index 6878327d..38884e12 100755
--- a/df/test-virt-df.sh
+++ b/df/test-virt-df.sh
@@ -61,12 +61,14 @@ fi
# /dev/dm-2 31729 395 29696 2% /sysroot/lv2
# /dev/dm-3 63472 144 60052 1% /sysroot/lv3
#
-# Only test plain 'df' output at the moment (XXX).
+# This test is disabled (XXX). See:
+# https://www.redhat.com/archives/libguestfs/2011-November/msg00051.html
-if [ "$(echo "$output" | sort | awk '/VG.LV[123]/ { print $2 " " $3 " " $4 " " $5 }')" != \
-"31728 28 30064 1%
-31729 395 29696 2%
-63472 144 60052 1%" ]; then
- echo "$0: error: output of virt-df did not match expected (df) output"
- exit 1
-fi
+#if [ "$(echo "$output" | sort | awk '/VG.LV[123]/ { print $2 " " $3 " " $4 " " $5 }')" != \
+#"31728 28 30064 1%
+#31729 395 29696 2%
+#63472 144 60052 1%" ]; then
+# echo "$0: error: output of virt-df did not match expected (df) output"
+# echo "$output"
+# exit 1
+#fi