aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ctests.py
diff options
context:
space:
mode:
authorCismonX <admin@cismon.net>2025-08-19 08:05:45 +0800
committerBernd Schubert <bernd@bsbernd.com>2025-08-19 20:07:15 +0200
commitd9e500c1acae30d809ade8197f015b8437305e65 (patch)
treed1947da6527e7d04a57af30255d92ca7d669bbec /test/test_ctests.py
parentaf48907c0b534f7f81f639f546bfcea6bc8e99b1 (diff)
downloadlibfuse-d9e500c1acae30d809ade8197f015b8437305e65.tar.gz
tests: move struct size assertions into a test
These checks are meant for libfuse maintainers only, and should not be exposed to users. Signed-off-by: CismonX <admin@cismon.net> (cherry picked from commit a63fc71a55038f49671eb56d0ade99a48ad8d7ab)
Diffstat (limited to 'test/test_ctests.py')
-rw-r--r--test/test_ctests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_ctests.py b/test/test_ctests.py
index feefc07..36b5ff3 100644
--- a/test/test_ctests.py
+++ b/test/test_ctests.py
@@ -20,6 +20,10 @@ import os.path
pytestmark = fuse_test_marker()
+def test_abi():
+ cmdline = [ pjoin(basename, 'test', 'test_abi') ]
+ subprocess.check_call(cmdline)
+
@pytest.mark.skipif('FUSE_CAP_WRITEBACK_CACHE' not in fuse_caps,
reason='not supported by running kernel')
@pytest.mark.parametrize("writeback", (False, True))