From da2792a291b3f9c22a61856dd5ebbf1788f8619f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Mon, 17 Apr 2023 09:11:49 +0200 Subject: [PATCH] fincore: (tests) don't run tests on tmpfs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Thomas Weißschuh --- tests/ts/fincore/count | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ts/fincore/count b/tests/ts/fincore/count index bec278ef51..3279c8aea6 100755 --- a/tests/ts/fincore/count +++ b/tests/ts/fincore/count @@ -6,8 +6,14 @@ TS_DESC="count file contents in core" . "$TS_TOPDIR"/functions.sh ts_init "$*" +ts_check_test_command "$TS_HELPER_FINDMNT" ts_check_test_command "$TS_HELPER_SYSINFO" +FS="$("$TS_CMD_FINDMNT" -nr -o FSTYPE -T "$PWD")" +if [[ "$FS" = "tmpfs" ]]; then + ts_skip "fincore does not work on tmpfs" +fi + # Send patch if you know how to keep it portable and robust. Thanks. TS_KNOWN_FAIL="yes" -- 2.47.2