diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-15 09:40:27 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-15 09:40:27 +0200 |
| commit | acf8e5d268bc0a0da7a49e878400097a6d824c4c (patch) | |
| tree | 2892cf0f31599397791065f0c5c98a09f6fe1ca5 /src/suites/builtin.py | |
| parent | 310ddc2208bd40e3950ebf89efe62f747be8277f (diff) | |
| download | minishell_test-acf8e5d268bc0a0da7a49e878400097a6d824c4c.tar.gz minishell_test-acf8e5d268bc0a0da7a49e878400097a6d824c4c.tar.bz2 minishell_test-acf8e5d268bc0a0da7a49e878400097a6d824c4c.zip | |
Added empty cd with HOME set
Diffstat (limited to 'src/suites/builtin.py')
| -rw-r--r-- | src/suites/builtin.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/suites/builtin.py b/src/suites/builtin.py index e6d2ffe..ba302f6 100644 --- a/src/suites/builtin.py +++ b/src/suites/builtin.py @@ -6,7 +6,7 @@ # By: juligonz <juligonz@student.42.fr> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/07/15 18:24:43 by charles #+# #+# # -# Updated: 2020/10/15 08:49:44 by cacharle ### ########.fr # +# Updated: 2020/10/15 09:38:07 by cacharle ### ########.fr # # Updated: 2020/09/11 18:01:27 by juligonz ### ########.fr # # # # **************************************************************************** # @@ -163,6 +163,7 @@ def suite_cd(test): test("echo $PWD; echo $OLDPWD; cd ////; pwd; echo $PWD; echo $OLDPWD") test("echo $PWD; echo $OLDPWD; cd //////////////////////////////////////////////////////; pwd; echo $PWD; echo $OLDPWD") test("echo $PWD; echo $OLDPWD; cd; echo $OLDPWD") + test("echo $PWD; echo $OLDPWD; cd; echo $PWD; echo $OLDPWD", exports={"HOME": os.getenv("HOME")}) test("echo $PWD; echo $OLDPWD; cd ' /'; pwd; echo $PWD; echo $OLDPWD") test("echo $PWD; echo $OLDPWD; cd ' / '; pwd; echo $PWD; echo $OLDPWD") test("echo $PWD; echo $OLDPWD; cd ' /'; pwd; echo $PWD; echo $OLDPWD") |
