fixed "cp $MINISHELL ." confilt with FILES_BEFORE

+ moved some tests to false_positives.sh
This commit is contained in:
LuckyLaszlo
2021-12-17 12:27:52 +01:00
parent 427cec8cb4
commit 21c56c3985
6 changed files with 243 additions and 221 deletions

View File

@@ -1,9 +1,5 @@
ulimit -n
echo "bip | bip ; coyotte > < \" "
echo "\\"
cat Makefile | grep pr | head -n 5 | cd test (mybin)
echo $?
@@ -12,3 +8,237 @@ echo $?
cat Makefile | grep pr | head -n 5 | hello (NA)
echo $?
#---------------------------------------------
# Race condition, unpredictable behaviour
echo DOET HET NIET > test1 | cat test1
#----------------------------------------------
# \ Backslash
echo "bip | bip ; coyotte > < \" "
echo bonjour > test\ 1
ls
rm test
#----------------------------------------------
# ; Semicolon separator
echo hallo | echo poep >x1 >x2
echo hallo ; echo poep >x1 >x2
echo hallo | echo hoi > y1 >y2 ; cat -e
echo "hello | this is some stuff > touch this file" | grep more
#----------------------------------------------
# Export builtins
export | grep -e "HOME="
export | grep -e "PWD="
#----------------------------------------------
# \ Echo Backslash
echo \\
echo "\\"
echo \poep
echo \1
echo 123\!456
echo 123\456
echo \a
echo \b
echo \c
echo \d
echo \e
echo \!
echo \"
echo \#
echo \$
echo \%
echo \&
echo \'
echo \(
echo \)
echo \*
echo \+
echo \,
echo \-
echo \.
echo \/
echo \0
echo \1
echo \2
echo \3
echo \4
echo \5
echo \6
echo \7
echo \8
echo \9
echo \:
echo \=
echo \?
echo \@
echo \A
echo \B
echo \C
echo \D
echo \E
echo \F
echo \G
echo \H
echo \I
echo \J
echo \K
echo \L
echo \M
echo \N
echo \O
echo \P
echo \Q
echo \R
echo \S
echo \T
echo \U
echo \V
echo \W
echo \X
echo \Y
echo \Z
echo \[
echo \\
echo \]
echo \^
echo \_
echo \a
echo \b
echo \c
echo \d
echo \e
echo \f
echo \g
echo \h
echo \i
echo \j
echo \k
echo \l
echo \m
echo \n
echo \o
echo \p
echo \q
echo \r
echo \s
echo \t
echo \u
echo \v
echo \w
echo \x
echo \y
echo \z
echo \{
echo \}
echo \~