diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 16:53:45 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-04 16:53:56 -0300 |
| commit | 87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7 (patch) | |
| tree | b628809c132871d6f6543971d8d79b18328bcac3 /test/v9fs_driver_test.py | |
| parent | be3985092df1c3388cfa09ca5e989d2fa66f55ec (diff) | |
| download | pardes-87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7.tar.gz pardes-87d9d6e3fe7122d4a2ff507d6561eebfa569f8e7.zip | |
Tty9p and its pardes-v9fs helper removed (the user: a one-off), a terminal with the session kernel-mounted through Linux v9fs: the builtin and its SPC n 9, the spawn's mounted path and the pane's flag, the host's helper launch, src/linux/v9fs.zig and its build and install, test/v9fs.py, v9fs_driver_test.py and v9fs_terminal.py with their three steps, the docs (the build notes keep how to mount a session by hand); the builtin lists regenerated; core, fs-unit, pane, behaviour and process tests, the gui build and all 113 snap scripts pass; ~/.local/bin/pardes-v9fs, installed before, is left
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/v9fs_driver_test.py')
| -rw-r--r-- | test/v9fs_driver_test.py | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/v9fs_driver_test.py b/test/v9fs_driver_test.py deleted file mode 100644 index 9781c4fe..00000000 --- a/test/v9fs_driver_test.py +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env python3 -"""Unprivileged regression checks for the v9fs helper launcher.""" -import os -import sys -import unittest - -from v9fs import run_helper - - -class HelperLaunchTests(unittest.TestCase): - def test_preserves_session_for_terminal_scoped_sudo_credentials(self): - output = run_helper([sys.executable, '-c', 'import os; print(os.getsid(0))']) - self.assertEqual(int(output), os.getsid(0)) - - def test_failure_preserves_diagnostics(self): - with self.assertRaisesRegex(RuntimeError, r'(?s)failed \(7\).*mount refused'): - run_helper([sys.executable, '-c', - 'import sys; print("mount refused", file=sys.stderr); sys.exit(7)']) - - def test_timeout_is_not_a_passing_probe(self): - with self.assertRaisesRegex(RuntimeError, 'timed out; no compatibility result'): - run_helper([sys.executable, '-c', 'import time; time.sleep(60)'], timeout=.1) - - -if __name__ == '__main__': - unittest.main() |
