test: replace the Go compatibility fixtures with native round-trip tests

The Go-generated link.db, profiles.link and rec1.cast fixtures and the
tests that read them are removed. Their coverage is kept by tests on
data this build writes: a fresh database round-trips SSH profiles (env
vars, login scripts, forwards), serial profiles, IRC room state, known
hosts, snippets and preferences, and encrypted exports round-trip and
reject a wrong password. The import dialog no longer offers .link files
and the docs stop mentioning them.
This commit is contained in:
Andy Dixon
2026-10-12 10:10:08 +01:00
parent 9ebfe57301
commit 4bd12bfb03
13 changed files with 69 additions and 74 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ impl Service {
Ok(path)
}
/// Imports a `.nexus` (or legacy `.link`) export.
/// Imports a `.nexus` export.
pub fn import_encrypted(&self, path: &Path, password: &str, strategy: &str) -> Result<usize> {
let ps = exportimport::decrypt_and_import(path, password)?;
self.import(ps, strategy)