From 8d728b04e1a2b51ebd3635104cb15aa0f32ca2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Wed, 12 Feb 2025 13:09:50 +0100 Subject: [PATCH] notes: document behaviour we need to implement so that we can use prysk --- NOTES.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NOTES.md b/NOTES.md index d52c450..9c29569 100644 --- a/NOTES.md +++ b/NOTES.md @@ -7,6 +7,15 @@ Comparative testing with bash should be done with bash --norc --posix. ## Ideas for testing * use prysk or shellspec with shell=./minishell +### Prysk +Seems like it would work, but only after we implement execution of simple commands, and the $? variable, since prysk (and cram as well) relie on it to collect the exit status. + +For it to work, the shell must be able to execute the following command: +```shell +$ echo PRYSK12345 2 $? +PRYSK12345 2 0 +``` + ## Shell Operation cf. 3.1.1 Shell Operation