Remove some unused code from the tests

This commit is contained in:
Peter Ammon 2024-12-08 13:38:27 -08:00
parent 56a1403350
commit c97b1a992c
No known key found for this signature in database
13 changed files with 0 additions and 34 deletions

View File

@ -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,

View File

@ -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()

View File

@ -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

View File

@ -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:

View File

@ -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()

View File

@ -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 = (

View File

@ -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,

View File

@ -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,

View File

@ -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 = (

View File

@ -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()

View File

@ -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 = (

View File

@ -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()

View File

@ -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()