Tests: enable test_callstack on 32-bit x86
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Apr 2023 21:48:25 +0000 (17:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Apr 2023 16:45:25 +0000 (12:45 -0400)
commitffce811cff28f0c357c1edc2b06cf10d2cda21c4
tree21f939dd64b147a0ddd0b19c5bc2e8cac4bd51b2
parentcc32d2631a514debac1accdbddc1bc5e77023c92
Tests: enable test_callstack on 32-bit x86

The test application used by test_callstack defines syscall
stubs (instead of using the libc) for both 32 and 64 bit variants of
x86. This limits the architectures that can run this test.

However, the `uname` check is erroneous as it assumes that `uname -m`
will return x86 for both architectures. It doesn't; it returns i386 or
i686 (and I presume others) for 32-bit kernels.

As such, the check is modified to check for '86' which, as far as I
know, doesn't clash with other architectures.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I267a81fadb2f1db6b135c6886ae5700184f2ae5b
tests/regression/kernel/test_callstack
This page took 0.025758 seconds and 4 git commands to generate.