]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
Fix fallocate() test
authorJan Kara <jack@suse.cz>
Mon, 24 May 2010 09:46:44 +0000 (11:46 +0200)
committerJan Kara <jack@suse.cz>
Mon, 24 May 2010 09:46:44 +0000 (11:46 +0200)
commit2a7c4917c977bc040bfced0a28aaa3f52c05a2e0
treeac27bcea4e93ac0d25638a5a4e865aa3f1462c75
parentc9ff0c04476af68c93a120bb6f16c2a0182788ea
Fix fallocate() test

The test for fallocate was broken because it used $TEST_DIR/$tmp.io. Because
$tmp is usually something like /tmp/1234 or /mnt/1234 the file cannot be
created and xfs_io fails regardless of existance of fallocate support. Moreover
the subsequent message parsing decides that fallocate is actually supported
because it does not expect this message.

Fix the test to not use $tmp.

Signed-off-by: Jan Kara <jack@suse.cz>
common.rc