mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 00:12:44 +08:00
pexpects: Skip eval-stack-overflow under ASAN CI
This commit is contained in:
parent
9c5571f14f
commit
364f8223b2
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user