mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
notes: document behaviour we need to implement so that we can use prysk
This commit is contained in:
parent
80e0484005
commit
8d728b04e1
1 changed files with 9 additions and 0 deletions
9
NOTES.md
9
NOTES.md
|
|
@ -7,6 +7,15 @@ Comparative testing with bash should be done with bash --norc --posix.
|
||||||
## Ideas for testing
|
## Ideas for testing
|
||||||
* use prysk or shellspec with shell=./minishell
|
* 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
|
## Shell Operation
|
||||||
|
|
||||||
cf. 3.1.1 Shell Operation
|
cf. 3.1.1 Shell Operation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue