Dont write to /dev/console explicitly, its bad form.
[xfstests-dev.git] / 044
diff --git a/044 b/044
index 8a1e424361dbe3bb9b1bd4a3024298192072dcf1..be5c4de67de20755b193aee070b6b71069466a63 100755 (executable)
--- a/044
+++ b/044
@@ -123,16 +123,19 @@ _unexpected()
 # 
 _require_scratch
 
-echo -e -n "\n\r*** XFS QA 044 - expect mount failure messages\n\r\n\r" >/dev/console
-
 echo "*** mkfs"
 
+# this test only works for version 1 logs currently
 lversion=1
 lsize=16777216
 _scratch_mkfs_xfs -lsize=$lsize,version=$lversion >$tmp.mkfs0 2>&1
 [ $? -ne 0 ] && \
     _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"
-_filter_mkfs <$tmp.mkfs0 2>/dev/null
+_filter_mkfs <$tmp.mkfs0 2>$tmp.mkfs1
+. $tmp.mkfs1
+[ $lversion -ne 1 ] && \
+    _notrun "Cannot run this test yet using MKFS_OPTIONS specified"
+
 _check_mount
 _check_require_logdev