Skip to main content

minishell_test

PyPI - Python Version Documentation Build Status

preview

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 string.

$ 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/bin to your PATH environment variable.
  • Run $ python3 -m minishell_test instead of $ minishell_test

Documentation

The full documentation for this project is available at minishell-test.readthedocs.io.

Metadata

Release files for minishell-test 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minishell-test 1.1.1
File Size Uploaded
minishell_test-1.1.1.tar.gz 32.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minishell-test 1.1.1
File Interpreter ABI Platform
minishell_test-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 71.2 kB

Release files / minishell_test-1.1.1.tar.gz

Download URL minishell_test-1.1.1.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
51740a06161f1daf11750487567ece1e0989ec2d4184c6f1b1b77705302e36f1
BLAKE2b-256 checksum
How to use checksums
4ec9b6f1dc3d9b8b44873644e73eb01bf89d310eeeeb3667c4345cb8383c5b98
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.1-py3-none-any.whl

Download URL minishell_test-1.1.1-py3-none-any.whl
Size 38.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a88616b869a1157ad040c4515f208a66ff7c1fe013b406c9fae2c763926628d
BLAKE2b-256 checksum
How to use checksums
75e780c30ebe0dbe0747d58e38ab102b7d2c428e67cf261a4d1ef40a5a1b01f0
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 history Release notifications | RSS feed

1.1.3

2 release files

1.1.2

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page