]> Repositorios git - scryer-prolog.git/commitdiff
fix linux tests on 1.85
authorSkgland <[email protected]>
Sat, 25 Apr 2026 13:19:41 +0000 (15:19 +0200)
committerSkgland <[email protected]>
Sat, 25 Apr 2026 13:19:41 +0000 (15:19 +0200)
old rust versions didn't print the pid

tests/scryer/cli/unix/process.md

index 3232855cf0b32a4da2bbd295eb0973b3479d29ff..c81a08a879ac1fd5f6f175aa5a2ce5b5a5afc912 100644 (file)
@@ -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