projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/rc: generalize _get_filesize()
[xfstests-dev.git]
/
tests
/
generic
/
572
diff --git
a/tests/generic/572
b/tests/generic/572
index 534237868c0c890fb55de5055ab87c6702b6442d..a695724156762ceba0b7469e18e5ff69c5378447 100755
(executable)
--- a/
tests/generic/572
+++ b/
tests/generic/572
@@
-163,10
+163,10
@@
head -c 100000 /dev/urandom > $fsv_orig_file
cp $fsv_orig_file $fsv_file
_fsv_enable $fsv_file >> $seqres.full
cmp $fsv_file $fsv_orig_file
cp $fsv_orig_file $fsv_file
_fsv_enable $fsv_file >> $seqres.full
cmp $fsv_file $fsv_orig_file
-
stat -c %s
$fsv_file
+
_get_filesize
$fsv_file
_scratch_cycle_mount
cmp $fsv_file $fsv_orig_file
_scratch_cycle_mount
cmp $fsv_file $fsv_orig_file
-
stat -c %s
$fsv_file
+
_get_filesize
$fsv_file
_fsv_scratch_begin_subtest "Trying to measure non-verity file fails with ENODATA"
echo foo > $fsv_file
_fsv_scratch_begin_subtest "Trying to measure non-verity file fails with ENODATA"
echo foo > $fsv_file