minishell_test
Documentation
The full documentation for this project is available at minishell-test.readthedocs.io.
Getting Started
Installation
$ pip3 install minishell-test
$ pip3 install --user minishell-test # if you don't have root access
Compatibility
Your executable must support the -c option which allow to pass
command as an argument.
$ bash -c 'echo bonjour je suis | cat -e'
bonjour je suis$
$ ./minishell -c 'echo bonjour je suis | cat -e'
bonjour je suis$
With this setup argv[2] is what you would usually get in line from
get_next_line.
Usage
Run all the predefined tests:
$ cd <MINISHELL>
$ minishell_test
If you get command not found, do either of those things:
- Add
~/.local/binto yourPATHenvironment variable. - Run
$ python3 -m minishell_testinstead of$ minishell_test
Metadata
Release files for minishell-test 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minishell_test-1.1.2.tar.gz | 33.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minishell_test-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.0 kB
Release files / minishell_test-1.1.2.tar.gz
| Download URL | minishell_test-1.1.2.tar.gz |
|---|---|
| Size | 33.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f5321e261fd1749dd37f8722e38abbc5cad50208f97ea779168f6688be8a22d
|
|
BLAKE2b-256 checksum How to use checksums |
ed6459f94d1c396d3b50eb34d74e9ed82df2007039cd8a80e7ee2d94436205c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
|
Release files / minishell_test-1.1.2-py3-none-any.whl
| Download URL | minishell_test-1.1.2-py3-none-any.whl |
|---|---|
| Size | 39.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45a8e54a4ed69159ee7491c0ca463aedb8f454fe6c2938e81e5c69d34ce880a9
|
|
BLAKE2b-256 checksum How to use checksums |
f495d3a81a1e50c27506614b22cd62a41a6d88b0ead0e406277169aacfea3db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2
|