resolution tests pwd dans false positive

This commit is contained in:
Hugo LAMY
2021-12-22 12:36:25 +01:00
parent 5aba1963ff
commit c8848afe79
6 changed files with 75 additions and 67 deletions

View File

@@ -43,8 +43,6 @@ cd ~
cd ../Desktop
cd
cd poep
mkdir dir
@@ -80,9 +78,6 @@ pwd
cd hello world
pwd
cd /
pwd
cd /
cd ../../akjwyefgjkwveyjfgweyugyuwegf76t273/../../
pwd

View File

@@ -10,3 +10,11 @@ pwd
export HOME=/
cd
pwd
export HOME="not_a_path"
cd
pwd
export HOME="~/Desktop"
cd
pwd

View File

@@ -21,15 +21,13 @@ echo
echo
echo working
echo
echo a
echo tab
echo " tab "
echo tab
echo tab
echo space
echo hello world
@@ -94,3 +92,5 @@ echo hello
echo "$ $ $ $ $ $ "
echo $
echo "$''"

View File

@@ -63,61 +63,6 @@ echo $OLDPWD
export PWD=
export OLDPWD=
mkdir dir
cd dir
rmdir ../dir
cd ./
pwd
echo $PWD
echo $OLDPWD
export PWD=
export OLDPWD=
mkdir dir
cd dir
rmdir ../dir
cd ./
cd ././././././//////////./././././././//////./
pwd
echo $PWD
echo $OLDPWD
export PWD=
export OLDPWD=
mkdir dir
cd dir
rmdir ../dir
cd ./
cd ../
pwd
echo $PWD
echo $OLDPWD
export PWD=
export OLDPWD=
mkdir dir
ln -s dir link
cd link
rmdir ../dir
cd ./
pwd
echo $PWD
echo $OLDPWD
export PWD=
export OLDPWD=
mkdir dir
ln -s dir link
cd link
rmdir ../dir
cd ./
cd ../
pwd
echo $PWD
echo $OLDPWD
export PWD=
export OLDPWD=
mkdir DIR
cd dir
rmdir ../DIR