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
from pexpect_helper import SpawnedProc
import re
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
sp.send,

View file

@ -1,8 +1,5 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
import time
sp = SpawnedProc(args=["-d", "reader"])
sp.expect_prompt()

View file

@ -2,7 +2,6 @@
from pexpect_helper import SpawnedProc
import re
import os
import platform
import sys
# 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 signal
import tempfile
from time import sleep
# Ensure that on-exit handlers run even if we get SIGHUP.
with tempfile.NamedTemporaryFile(mode="r", encoding="utf8") as tf:

View file

@ -1,9 +1,7 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
import signal
import time
import os
sp = SpawnedProc()

View file

@ -1,11 +1,7 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import os
import platform
import signal
import subprocess
import sys
import time
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (

View file

@ -1,12 +1,9 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
from time import sleep
import os
os.environ["fish_escape_delay_ms"] = "10"
SpawnedProc()
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
sp.send,

View file

@ -1,11 +1,6 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
from time import sleep
import os
SpawnedProc()
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (
sp.send,

View file

@ -1,8 +1,5 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
import time
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (

View file

@ -1,8 +1,5 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import subprocess
import sys
import time
import os
env = os.environ.copy()

View file

@ -1,8 +1,5 @@
#!/usr/bin/env python3
from pexpect_helper import SpawnedProc
import os
import platform
import sys
sp = SpawnedProc()
send, sendline, sleep, expect_prompt, expect_re, expect_str = (

View file

@ -1,9 +1,6 @@
#!/usr/bin/env python3
# Verify that stdin is properly set to blocking even if a job tweaks it.
from pexpect_helper import SpawnedProc
import sys
import signal
import time
import os
sp = SpawnedProc()

View file

@ -1,5 +1,4 @@
#!/usr/bin/env python3
import signal
from pexpect_helper import SpawnedProc
sp = SpawnedProc()