From: Skgland Date: Sat, 25 Apr 2026 13:19:41 +0000 (+0200) Subject: fix linux tests on 1.85 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=ab2b652c8483dab4abacaa9afd980853e81da45a;p=scryer-prolog.git fix linux tests on 1.85 old rust versions didn't print the pid --- diff --git a/tests/scryer/cli/unix/process.md b/tests/scryer/cli/unix/process.md index 3232855c..c81a08a8 100644 --- a/tests/scryer/cli/unix/process.md +++ b/tests/scryer/cli/unix/process.md @@ -22,7 +22,7 @@ $ scryer-prolog -f --no-add-history -t halt -g 'use_module(library(process)), pr pid=[..] use_module(library(process)),process_create("false",[],[process(P)]),process_id(P,Pid),write(pid=Pid),nl,process_wait(P,exit(1)),process_id(P,Pid2),write(pid=Pid2),nl causes: error(existence_error(process,$dropped_value),[predicate-process_id/2|process_id/2]) -thread 'main' ([..]) panicked at src/machine/loader.rs:[..]:[..]: +thread 'main'[..] panicked at src/machine/loader.rs:[..]:[..]: called `Result::unwrap()` on an `Err` value: () note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace @@ -37,7 +37,7 @@ pid=[..] pid=[..] use_module(library(process)),process_create("false",[],[process(P)]),process_id(P,Pid),write(pid=Pid),nl,process_wait(P,exit(1),[release(false)]),process_id(P,Pid2),write(pid=Pid2),nl,process_release(P),process_id(P,Pid3),write(pid=Pid3),nl causes: error(existence_error(process,$dropped_value),[predicate-process_id/2|process_id/2]) -thread 'main' ([..]) panicked at src/machine/loader.rs:[..]:[..]: +thread 'main'[..] panicked at src/machine/loader.rs:[..]:[..]: called `Result::unwrap()` on an `Err` value: () note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace