]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0132: tests: Test_recover_corrupted_swap_file1 fails on be systems v9.2.0132
authorJames McCoy <jamessan@debian.org>
Tue, 10 Mar 2026 18:39:40 +0000 (18:39 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 10 Mar 2026 18:39:40 +0000 (18:39 +0000)
commitff16ebdb08bbefd41cdfcbdfc294bb67a151083f
tree0cd76c26329797ccb04b9b8163419ecc9dfba2ce
parent9360647715c2d7e4ed484ef0188f7fcbb5c414a7
patch 9.2.0132: tests: Test_recover_corrupted_swap_file1 fails on be systems

Problem:  tests: Test_recover_corrupted_swap_file1 fails on big-ending
          systems (after v9.2.0077)
Solution: Skip the test on big-endian systems (James McCoy)

The POC files were generated on 64-bit little-endian systems and
therefore are not portable to any other system type.

Extract the 64-bit / endianness detection from
Test_recover_corrupted_swap_file() into a SetUp() function and use that
data to determine if the test should be run.

closes: #19620

Signed-off-by: James McCoy <jamessan@debian.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_recover.vim
src/version.c