]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/63{4,5}: Modify criteria for passing test
authorJoanne Chang <joannechien@google.com>
Tue, 2 Jun 2026 07:19:11 +0000 (07:19 +0000)
committerZorro Lang <zlang@kernel.org>
Wed, 17 Jun 2026 19:28:41 +0000 (03:28 +0800)
commit65caee6192ce5006bedbd40cc2889e0961c93b46
treeca3ccef30fd3b7678b5ec04f1828a356bbd3170d
parent26eb955e4243495c0df0bc2f157cda32edccf18b
generic/63{4,5}: Modify criteria for passing test

The two tests pass when a timestamp is not preserved after the remount,
because "cmp -s" does not print to the output file, and status is set to
0 regardless of the return value of cmp. So, use "diff" instead to
correctly fail the test and flag the error case in the output file.

Also, as the tests are focused on timestamps, don't print file contents
so the tests can still pass if only the file contents differ.

Signed-off-by: Joanne Chang <joannechien@google.com>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/634
tests/generic/635