Skip to main content

test for the minishell project of school 42

Project description

minishell_test

PyPI - Python Version Documentation Build Status

preview

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minishell_test-1.1.3.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minishell_test-1.1.3-py3-none-any.whl (39.6 kB view details)

Uploaded Python 3

File details

Details for the file minishell_test-1.1.3.tar.gz.

File metadata

  • Download URL: minishell_test-1.1.3.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for minishell_test-1.1.3.tar.gz
Algorithm Hash digest
SHA256 f752a7cc8644a8b0d3c554087fcdf741c7b1695323de6f1d3f4d632962222dbb
MD5 8a1942cdb68c435f4d8106d9eefbd829
BLAKE2b-256 4c4346e9b28e88eb9f53a28d1a6284204c9a135d125d670f49cf5821b77fd0ad

See more details on using hashes here.

File details

Details for the file minishell_test-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: minishell_test-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 39.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for minishell_test-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a9cb033de5cd572b91a2f0101177aa83bbd7b077ec7b36bc5ab027a4b9e51f
MD5 e355d50841f41242c9d83612eaeb42cb
BLAKE2b-256 f83cf491f32f1b78eca213d9a7b3db9729c17c52cb633537cb3356aa00f20157

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page