fix init-config resolving state_file and pid_file

they are supposed to be relative under data_dir!

maybe i could also set cwd to data_dir idk bro
This commit is contained in:
lda
2026-07-16 09:49:34 +07:00 Verified
parent 5e7f98d2fe
commit e1ae88f967
2 changed files with 62 additions and 2 deletions
+1
View File
@@ -114,6 +114,7 @@ mod tests {
///
/// `./scripts/test_remote.ps1 -Package wakey-linux -Filter terminal::tests::pty_round_trip_and_resize -Exact -ShowOutput`
#[tokio::test]
#[ignore = "live system check, requires PTY and shell"]
async fn pty_round_trip_and_resize() {
let (mut reader, mut writer, mut child) = TerminalPty::spawn(Path::new("/bin/sh"), 24, 80)
.expect("spawn PTY shell")