mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-python/anthropic: fix tests under QEMU
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -128,7 +128,9 @@ src_test() {
|
||||
is_mock_running() {
|
||||
local -a args
|
||||
readarray -d '' args < "/proc/${mock_pid}/cmdline" 2>/dev/null || return 1
|
||||
[[ "${args[1]}" == "${mock}" ]]
|
||||
|
||||
# Check args[1] (native) or args[2] (QEMU user-mode emulation)
|
||||
[[ "${args[1]}" == "${mock}" || "${args[2]}" == "${mock}" ]]
|
||||
}
|
||||
|
||||
local attempts=0
|
||||
|
||||
Reference in New Issue
Block a user