]> git.proxmox.com Git - debcargo-conf.git/commit
fasteval: fix pointer-based tests
authorArnaud Ferraris <arnaud.ferraris@collabora.com>
Tue, 31 Jan 2023 14:13:53 +0000 (15:13 +0100)
committerArnaud Ferraris <arnaud.ferraris@collabora.com>
Tue, 31 Jan 2023 14:17:27 +0000 (15:17 +0100)
commit3df1d209af5c40b87224e2aa54477e164abb5eca
tree45f737bc74c9fa939768fc1342edad70ed302e91
parent916098d12722f0a695880474cf38a4b8b714b57d
fasteval: fix pointer-based tests

We can't assume the pointers representation will always be as long as
the architecture's pointer width: fasteval doesn't prepend 0's for
smaller values, so it vastly depends on what pointer values are used in
userspace applications, which we can't control or anticipate.

In order to fix this, use fixed-width (8 chars) pointer representation in
all corresponding tests.
src/fasteval/debian/changelog
src/fasteval/debian/patches/0003_fix_tests.patch
src/fasteval/debian/patches/0004_guard_alpha-keywords_tests.patch