mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-19 05:13:44 +08:00
Remove some unused code from the tests
This commit is contained in:
parent
56a1403350
commit
c97b1a992c
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
sp.send,
|
sp.send,
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
|
|
||||||
sp = SpawnedProc(args=["-d", "reader"])
|
sp = SpawnedProc(args=["-d", "reader"])
|
||||||
sp.expect_prompt()
|
sp.expect_prompt()
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
import platform
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# Disable under SAN - keeps failing because the timing is too tight
|
# Disable under SAN - keeps failing because the timing is too tight
|
||||||
|
|
|
@ -3,7 +3,6 @@ from pexpect_helper import SpawnedProc
|
||||||
import os
|
import os
|
||||||
import signal
|
import signal
|
||||||
import tempfile
|
import tempfile
|
||||||
from time import sleep
|
|
||||||
|
|
||||||
# Ensure that on-exit handlers run even if we get SIGHUP.
|
# Ensure that on-exit handlers run even if we get SIGHUP.
|
||||||
with tempfile.NamedTemporaryFile(mode="r", encoding="utf8") as tf:
|
with tempfile.NamedTemporaryFile(mode="r", encoding="utf8") as tf:
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
import signal
|
import signal
|
||||||
import time
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import os
|
|
||||||
import platform
|
import platform
|
||||||
import signal
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
from time import sleep
|
from time import sleep
|
||||||
import os
|
import os
|
||||||
|
|
||||||
os.environ["fish_escape_delay_ms"] = "10"
|
os.environ["fish_escape_delay_ms"] = "10"
|
||||||
SpawnedProc()
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
sp.send,
|
sp.send,
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
from time import sleep
|
|
||||||
import os
|
|
||||||
|
|
||||||
SpawnedProc()
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
sp.send,
|
sp.send,
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import os
|
|
||||||
import platform
|
|
||||||
import sys
|
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# Verify that stdin is properly set to blocking even if a job tweaks it.
|
# Verify that stdin is properly set to blocking even if a job tweaks it.
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
import sys
|
|
||||||
import signal
|
|
||||||
import time
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import signal
|
|
||||||
from pexpect_helper import SpawnedProc
|
from pexpect_helper import SpawnedProc
|
||||||
|
|
||||||
sp = SpawnedProc()
|
sp = SpawnedProc()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user