pexpects: Skip eval-stack-overflow under ASAN CI

This commit is contained in:
Fabian Boehm 2023-05-12 19:26:10 +02:00
parent 9c5571f14f
commit 364f8223b2

View File

@ -5,6 +5,10 @@ import os
import platform
import sys
# Disable under SAN - keeps failing because the timing is too tight
if "FISH_CI_SAN" in os.environ:
sys.exit(0)
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
sp.send,
@ -19,7 +23,6 @@ expect_prompt()
sendline("echo cat dog")
expect_prompt("cat dog")
sleep(0.5)
sendline("eval (string replace dog tiger -- $history[1])")
expect_prompt("cat tiger")