saladuit / minishell

This project is about creating a simple Buzinga. "I am not crazy, my mother had me tested."
MIT License
0 stars 2 forks source link

Tester (link in comment below) #77

Open lucienvb opened 1 year ago

lucienvb commented 1 year ago

Line 1: cd .. \n pwd Success!


Line 2: cd /Users \n pwd Success!


Line 3: cd gdhahahad Success! - Wrong exit code


Line 4: cd Success!


Line 5: cd .. Success!


Line 6: cd Success!


Line 7: echo test test Success!


Line 8: echo echo echo echoo Success!


Line 9: echo test tout Success!


Line 10: echo test tout Success!


Line 11: echo -n test tout Success!


Line 12: echo -n -n -n test tout Fail


Line 13: echo > < Success!


Line 14: echo | | Success!


Line 15: echo << Success!


Line 16: echoecho Success!


Line 17: echo -n -n Fail


Line 18: echo -n Success!


Line 19: echo hi="my $USER" Success!


Line 20: export TEST='yolo' Success!


Line 21: echo $TEST Success!


Line 22: echo $test Success!


Line 23: echo $_TEST Fail


Line 24: echo "$TEST" Success!


Line 25: echo '$TEST' Success!


Line 26: echo "$T1TEST" Success!


Line 27: echo "$TEST$TEST$TEST" Success!


Line 28: echo "$TEST$TEST=lol$TEST" Fail


Line 29: echo " $TEST lol $TEST" Success!


Line 30: echo $TEST$TEST$TEST Success!


Line 31: echo $TEST$TEST=lol$TEST""lol Fail


Line 32: echo $TEST lol $TEST Fail


Line 33: echo "$=TEST" Fail


Line 34: echo "$" Fail


Line 35: echo "$?TEST" Success!


Line 36: echo $TEST $TEST Fail


Line 37: echo "$T1TEST" Success!


Line 38: echo $ Success!


Line 39: Success!


Line 40: \bin\ls Success!


Line 41: gdagadgag Success!


Line 42: ls -Z Success!


Line 43: ls -bla Success!


Line 44: ls-- Success!


Line 45: --ls Success!


Line 46: ls-la Success!


Line 47: lllllllllllllls Success!


Line 48: ls -la Success!


Line 49: export = Success!


Line 50: export 1TEST= \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 51: export TEST \n "export | sort | grep -v SHLVL | grep -v _= | grep -v OLDPWD" Success!


Line 52: export ""="" \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 53: export TES=T="" \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 54: export TE+S=T="" \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 55: export TEST=LOL \n echo $TEST \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 56: export TEST=LOL \n echo $TEST$TEST$TEST=lol$TEST Success!


Line 57: export TEST1=LOL TEST2=PIKAPIKA\n echo $TEST \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 58: export TEST1=LOL TEST2 "env | sort | grep -v SHLVL | grep -v _=" Success! - Wrong exit code


Line 59: export TEST=LOL\n unset TEST "env | sort | grep -v SHLVL | grep -v _=" Success! - Wrong exit code


Line 60: export TEST=LOL \n export TEST+=LOL \n echo $TEST \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 61: "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 62: "export | sort | grep -v SHLVL | grep -v _= | grep -v OLDPWD" Success!


Line 63: export TEST="ls -l - a" \n echo $TEST \n "env | sort | grep -v SHLVL | grep -v _=" Success!


Line 64: echo sos | echo lol | cat -e Fail


Line 65: false < l | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit Success!


Line 66: cat /dev/random | head -c 100 | wc -c Fail


Line 67: | testttt Success!


Line 68: ls -la | wtf Success!


Line 69: | Success!


Line 70: | | | cat | Success!


Line 71: pwd > 1| pwd | cat 1 Fail


Line 72: echo"" Success!


Line 73: echo" " Success!


Line 74: echo "'" Success!


Line 75: echo " ' ' " Success!


Line 76: echo "c"'a'"t" Success!


Line 77: echo lol "|" hsas Success!


Line 78: echo "<< << < bam" bam Success!


Line 79: echo "balshdfasf"adasa'adaas's"a" ' asdja'"" Success!


Line 80: echo test "" test "" test Success!


Line 81: echo "ashbdasfh""\/" Success!


Line 82: echo "<"'<' Success!


Line 83: echo"""""""""""""""""""" Success!


Line 84: echo "" Success!


Line 85: echo "''" Success!


Line 86: echo ""'' Success!


Line 87: Success!


Line 88: cd test_dir Success! - Wrong exit code


Line 89: echo test > ls \n cat ls Success!


Line 90: echo test > ls >> ls >> ls \n echo test >> ls \n cat ls Success!


Line 91: > lol echo test lol \n cat lol Success!


Line 92: >lol echo > test>lol>test>>lol>test mdr >lol test >test \n cat test Success!


Line 93: rm test>lol>test>>lol>test Success!


Line 94: cat < ls Success!


Line 95: cat < ls > ls Success!


Line 96: < Success!


Line 97: > Success!


Line 98: < < < Success!


Line 99: >> Success!


Line 100: <<<<<<< Success!


Line 101: <> Success!


Line 102: ><< Success!


Line 103: >>< Success!


Line 104: >>>>>>>>>>> Success!


Line 105: ><><><><><><><> Success!


Line 106: > > > > Success!


Line 107: cat <ls Success!


Line 108: ls > ls Success!


Line 109: cat < ls Success!


Line 110: rm -f ls \n cat > ls < ls \n rm -f ls Success!


Line 111: Success!


Line 112: echo test > ls >> ls >> ls Success!


Line 113: echo test > ls \n rm ls Success!


Line 114: exit exit exit Success! - Wrong exit code


Line 115: exitexit Success!


Line 116: exit exit 1 6 Success! - Wrong exit code


Line 117: exit exit 3 Success! - Wrong exit code


Line 118: exit exit 3a Success! - Wrong exit code


Line 119: exit 3a Success!


Line 120: exit 1- Success!


Line 121: exit 3+ Success!


Line 122: exit -0 Success!


Line 123: exit --001 Success!


Line 124: exit ++ Success!


Line 125: exit +++ Success!


Line 126: exit -1- Success!


Line 127: exit +5 Success! - Wrong exit code


Line 128: exit $ Success!


Line 129: exit $test Success!


Line 130: exit --- Success!


Line 131: exit ---- Success!


Line 132: exit -- -- Success! - Wrong exit code


Line 133: exit ------- Success!


Line 134: exit +++++ Success!


Line 135: exit -+ Success!


Line 136: exit -- Success! - Wrong exit code


Line 137: exit -- Success! - Wrong exit code


Line 138: exit ? Success! - Wrong exit code


Line 139: exit 1-- Success!


Line 140: exit 1 Success!


Line 141: exit - Success! - Wrong exit code


Line 142: exit + Success!


Line 143: exit -0000001.5 Success!


Line 144: exit - 1 Success! - Wrong exit code


Line 145: exit + 1 Success! - Wrong exit code


Line 146: exit | Success!


Line 147: exit 0 Success!


Line 148: exit 2147483647 Success!


Line 149: exit 1111111111111111 Success!


Line 150: exit 2222222222222222 Success!


Line 151: exit 3333333333333333 Success!


Line 152: exit -9223372036854775808 Success! - Wrong exit code


Line 153: exit 00000000000000000001 Success!


Line 154: exit -1 Success!


Line 155: exit cat Success!


Line 156: exit ++5 Success!


Line 157: exit --5 Success!


Line 158: exit 256 Success!


Line 159: exit -255 Success!


Line 160: exit 42 Success!


Line 161: exit 42 53 68 Success!


Line 162: exit 259 Success!


Line 163: exit -4 Success!


Line 164: exit 2a dfg Success! - Wrong exit code


Line 165: exit 2.2 3 3 Success! - Wrong exit code


Line 166: exit 222,03 Success!


Line 167: exit wrong Success!


Line 168: exit wrong_command Success!


Line 169: exit 2 wrong Success!


Line 170: false \n exit Success!


Line 171: exit ~ Success!


Line 172: exit Success!


160/172 successful tests!

lucienvb commented 1 year ago

https://github.com/XEDGit/mstester_2022

saladuit commented 1 year ago
Screen Shot 2023-05-11 at 9 59 35 AM

Opeens deze fout?

lucienvb commented 1 year ago

For Sala:


Line 58: export TEST1=LOL TEST2 "env | sort | grep -v SHLVL | grep -v _=" Success! - Wrong exit code minishell: '' exit code: 0 bash: '' exit code: 1


Line 59: export TEST=LOL\n unset TEST "env | sort | grep -v SHLVL | grep -v _=" Success! - Wrong exit code minishell: '' exit code: 0 bash: '' exit code: 1

lucienvb commented 1 year ago

For Lucien:

-- ECHO CASES --


Line 23: echo $_TEST Fail minishell: 'TEST' exit code: 0 bash: '' exit code: 0


Line 32: echo $TEST lol $TEST Fail minishell: ' lol ' exit code: 0 bash: 'lol' exit code: 0


Line 33: echo "$=TEST" Fail minishell: '=TEST' exit code: 0 bash: '$=TEST' exit code: 0


Line 34: echo "$" Fail minishell: '' exit code: 0 bash: '$' exit code: 0


Line 36: echo $TEST $TEST Fail minishell: ' ' exit code: 0 bash: '' exit code: 0

-- EXIT CASES --


Line 114: exit exit exit Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 116: exit exit 1 6 Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 117: exit exit 3 Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 118: exit exit 3a Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 127: exit +5 Success! - Wrong exit code minishell: '' exit code: 255 bash: '' exit code: 5


Line 132: exit -- -- Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 136: exit -- Success! - Wrong exit code minishell: '' exit code: 255 bash: '' exit code: 0


Line 137: exit -- Success! - Wrong exit code minishell: '' exit code: 255 bash: '' exit code: 0


Line 138: exit ? Success! - Wrong exit code minishell: '' exit code: 255 bash: '' exit code: 1


Line 141: exit - Success! - Wrong exit code minishell: '' exit code: 0 bash: '' exit code: 255


Line 144: exit - 1 Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 145: exit + 1 Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 152: exit -9223372036854775808 Success! - Wrong exit code minishell: '' exit code: 255 bash: '' exit code: 0


Line 164: exit 2a dfg Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255


Line 165: exit 2.2 3 3 Success! - Wrong exit code minishell: '' exit code: 1 bash: '' exit code: 255

lucienvb commented 1 year ago

FOR SALADIN:

Line 32: echo $TEST lol $TEST Fail minishell: 'lol ' exit code: 0 bash: 'lol' exit code: 0


Line 33: echo "$=TEST" Fail minishell: '=TEST' exit code: 0 bash: '$=TEST' exit code: 0



Line 80: echo test "" test "" test Fail minishell: 'test test test' exit code: 0 bash: 'test test test' exit code: 0

lucienvb commented 1 year ago

Line 1: echo sos | echo lol | cat -e Success! minishell: 'lol$' exit code: 0 bash: 'lol$' exit code: 0


Line 2: false Success! minishell: '' exit code: 1 bash: '' exit code: 1


Line 3: false < l | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 | exit 66 Success! minishell: '' exit code: 66 bash: '' exit code: 66


Line 4: ls Success! minishell: 'Makefile README.md build include libs makerc minishell new_minishell_tester src test.out unit_test' exit code: 0 bash: 'Makefile README.md build include libs makerc minishell new_minishell_tester src test.out unit_test' exit code: 0


Line 5: LOL=lol | $LOL Success! - Wrong exit code minishell: '' exit code: 127 bash: '' exit code: 0


Line 6: echo test tout Success! minishell: 'test tout' exit code: 0 bash: 'test tout' exit code: 0


Line 7: echo test tout Success! minishell: 'test tout' exit code: 0 bash: 'test tout' exit code: 0


Line 8: echo -n test tout Success! minishell: 'test tout' exit code: 0 bash: 'test tout' exit code: 0


Line 9: echo -n -n -n test tout Success! minishell: 'test tout' exit code: 0 bash: 'test tout' exit code: 0


Line 10: cd .. ; pwd Success! minishell: '/Users/lvan-bus/Documents' exit code: 0 bash: '/Users/lvan-bus/Documents' exit code: 0


Line 11: cd /Users ; pwd Success! minishell: '/Users' exit code: 0 bash: '/Users' exit code: 0


Line 12: cd ; pwd Success! minishell: '/Users/lvan-bus' exit code: 0 bash: '/Users/lvan-bus' exit code: 0


Line 13: mkdir test_dir ; cd test_dir ; rm -rf ../test_dir ; cd . ; pwd ; cd . ; pwd ; cd .. ; pwd Fail minishell: '/Users/lvan-bus/Documents/minishell' exit code: 0 bash: '/Users/lvan-bus/Documents/minishell/test_dir/. /Users/lvan-bus/Documents/minishell/test_dir/./. /Users/lvan-bus/Documents/minishell' exit code: 0


Line 14: cat tests/lorem.txt | grep arcu | cat -e Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 15: echo test | cat -e | cat -e | cat -e | cat -e | cat -e | cat -e | cat -e | cat -e | cat -e | cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e| cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e|cat -e Success! minishell: 'test$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' exit code: 0 bash: 'test$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$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ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls Success! minishell: 'Makefile README.md build include libs makerc minishell new_minishell_tester src test.out unit_test' exit code: 0 bash: 'Makefile README.md build include libs makerc minishell new_minishell_tester src test.out unit_test' exit code: 0


Line 18: ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|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ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls|ls Success! - Wrong exit code minishell: '' exit code: 127 bash: '' exit code: 128


Line 19: echo test test Success! minishell: 'test test' exit code: 0 bash: 'test test' exit code: 0


Line 20: echo "test Success! - Wrong exit code minishell: '' exit code: 3 bash: '' exit code: 2


Line 21: echo $TEST Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 22: echo "$TEST" Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 23: echo '$TEST' Success! minishell: '$TEST' exit code: 0 bash: '$TEST' exit code: 0


Line 24: echo "$TEST$TEST$TEST" Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 25: echo "$TEST$TEST=lol$TEST" Success! minishell: '=lol' exit code: 0 bash: '=lol' exit code: 0


Line 26: echo " $TEST lol $TEST" Success! minishell: ' lol ' exit code: 0 bash: ' lol ' exit code: 0


Line 27: echo $TEST$TEST$TEST Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 28: echo $TEST$TEST=lol$TEST""lol Success! minishell: '=lollol' exit code: 0 bash: '=lollol' exit code: 0


Line 29: echo $TEST lol $TEST Fail minishell: 'lol ' exit code: 0 bash: 'lol' exit code: 0


Line 30: echo test "" test "" test Fail minishell: 'test test test' exit code: 0 bash: 'test test test' exit code: 0


Line 31: echo "$=TEST" Fail minishell: '=TEST' exit code: 0 bash: '$=TEST' exit code: 0


Line 32: echo "$" Success! minishell: '$' exit code: 0 bash: '$' exit code: 0


Line 33: echo "$?TEST" Success! minishell: '0TEST' exit code: 0 bash: '0TEST' exit code: 0


Line 34: echo $TEST $TEST Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 35: echo "$1TEST" Success! minishell: 'TEST' exit code: 0 bash: 'TEST' exit code: 0


Line 36: echo "$T1TEST" Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 37: echo test > ls ; cat ls Success! minishell: 'test' exit code: 0 bash: 'test' exit code: 0


Line 38: echo test > ls >> ls >> ls ; echo test >> ls; cat ls Success! minishell: 'test test' exit code: 0 bash: 'test test' exit code: 0


Line 39: > lol echo test lol; cat lol Success! minishell: 'test lol' exit code: 0 bash: 'test lol' exit code: 0


Line 40: >lol echo > test>lol>test>>lol>test mdr >lol test >test; cat test Success! minishell: 'mdr test' exit code: 0 bash: 'mdr test' exit code: 0


Line 41: cat < ls Success! minishell: 'test test' exit code: 0 bash: 'test test' exit code: 0


Line 42: cat < ls > ls Success! minishell: '' exit code: 0 bash: '' exit code: 0


Line 43: echo testing multi ; echo "test 1 ; | and 2" ; cat tests/lorem.txt | grep Lorem Fail minishell: 'testing multi' exit code: 1 bash: 'testing multi test 1 | and 2' exit code: 1


Line 44: | test Success! minishell: '' exit code: 2 bash: '' exit code: 2


Line 45: echo > < Success! minishell: '' exit code: 2 bash: '' exit code: 2


Line 46: echo | | Success! minishell: '' exit code: 2 bash: '' exit code: 2


Line 47: < Success! minishell: '' exit code: 2 bash: '' exit code: 2


Line 48: exit 42 Success! minishell: '' exit code: 42 bash: '' exit code: 42


Line 49: exit 42 53 68 Success! minishell: '' exit code: 1 bash: '' exit code: 1


Line 50: exit 259 Success! minishell: '' exit code: 3 bash: '' exit code: 3


Line 51: exit -4 Success! minishell: '' exit code: 252 bash: '' exit code: 252


Line 52: exit wrong Success! minishell: '' exit code: 255 bash: '' exit code: 255


Line 53: exit wrong_command Success! minishell: '' exit code: 255 bash: '' exit code: 255


Line 54: gdagadgag Success! minishell: '' exit code: 127 bash: '' exit code: 127


Line 55: ls -Z Success! minishell: '' exit code: 1 bash: '' exit code: 1


Line 56: cd gdhahahad Success! minishell: '' exit code: 1 bash: '' exit code: 1


Line 57: ls -la | wtf Success! minishell: '' exit code: 127 bash: '' exit code: 127


52/57 successful tests!