diff options
| author | user <user@clank> | 2026-08-14 12:13:18 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-14 12:13:18 +0200 |
| commit | 20f269a0cdf65f196aea09f0279f5927f26d8192 (patch) | |
| tree | cc0c10c3556b36d0234a64acf1a48da356a4a212 /tests/test_config.py | |
| parent | sl0ptty: kitty graphics passthrough (diff) | |
| download | slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.tar.gz slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.tar.xz slosh-20f269a0cdf65f196aea09f0279f5927f26d8192.zip | |
sl0ppty: rename from sl0ptty
A pty is a pseudo-terminal, and that is what this multiplexes: the extra t
was never standing for anything. Renaming now, while the only users are the
people who typed the old name on purpose, is cheaper than renaming later.
Mechanical, but not only cosmetic. The name is also the runtime contract, so
this moves $SL0PTTY and $SL0PTTY_CONFIG, ~/.config/sl0ptty/config.kdl, the
socket directory ($XDG_RUNTIME_DIR/sl0ptty, /tmp/sl0ptty-<uid>), and the
identity string a program gets back from an OSC 5577 hello. A session left
running under the old binary keeps its old socket directory and is invisible
to the new one; there is no migration and it does not seem worth writing one.
The sl0ppi fork keeps its name: it is a different thing, and D1 still points
at it.
Diffstat (limited to 'tests/test_config.py')
| -rw-r--r-- | tests/test_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index e8f9912..735e223 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -140,7 +140,7 @@ def test_fail_open(): proc = subprocess.run([BIN, "--headless", "--cols", "20", "--rows", "3", "--", "/bin/echo", "hi"], capture_output=True, text=True, - env=dict(os.environ, SL0PTTY_CONFIG=broken)) + env=dict(os.environ, SL0PPTY_CONFIG=broken)) check("the reason is reported on stderr", "line" in proc.stderr or "parse" in proc.stderr, repr(proc.stderr)) check("but the run succeeds", proc.returncode == 0, proc.stderr) @@ -161,7 +161,7 @@ def test_fail_open(): proc = subprocess.run([BIN, "--headless", "--cols", "20", "--rows", "3", "--", "/bin/echo", "hi"], capture_output=True, text=True, - env=dict(os.environ, SL0PTTY_CONFIG=missing)) + env=dict(os.environ, SL0PPTY_CONFIG=missing)) check("a missing config is silent", proc.stderr == "", repr(proc.stderr)) |
