Message ID | 1500433607-4223-1-git-send-email-yangx.jy@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/common/rc b/common/rc index fa1314c..b064f53 100644 --- a/common/rc +++ b/common/rc @@ -2297,7 +2297,7 @@ _require_seek_data_hole() testfile=$TEST_DIR/$$.seek testseek=`$here/src/seek_sanity_test -t $testfile 2>&1` rm -f $testfile &>/dev/null - echo $testseek | grep -q "Kernel does not support" && \ + echo $testseek | grep -q "not support" && \ _notrun "File system does not support llseek(2) SEEK_DATA/HOLE" }
_require_seek_data_hole() could not skip tests if filesystem does not support fallocate or unwritten extent. We could update _require_seek_data_hole() to catch both of them. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)