tester
This commit is contained in:
parent
c407e65992
commit
d7bf620b96
16
test.sh
16
test.sh
@ -1,12 +1,12 @@
|
||||
# **************************************************************************** #
|
||||
# #
|
||||
# .--. _ #
|
||||
# test.sh :+: :+: :+: #
|
||||
# test.sh |o_o || | #
|
||||
# |:_/ || |_ _ ___ __ #
|
||||
# By: houtworm <codam@houtworm.net> // \ \ __| | | \ \/ / #
|
||||
# (| | )|_| |_| |> < #
|
||||
# Created: 2023/02/20 12:46:17 by houtworm /'\_ _/`\__|\__,_/_/\_\ #
|
||||
# Updated: 2023/03/07 07:19:30 by houtworm ### ########.fr #
|
||||
# Updated: 2023/03/09 18:58:35 by djonker \___)=(___/ #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@ -35,7 +35,7 @@ checkfile()
|
||||
|
||||
searchobj()
|
||||
{
|
||||
FILES=$(find ./ -name '*.o' | wc -l)
|
||||
FILES=$(find . -name '*.o' | wc -l)
|
||||
if [ $1 -eq 0 ]
|
||||
then
|
||||
if [ $FILES -ne 0 ]
|
||||
@ -448,6 +448,16 @@ then
|
||||
fi
|
||||
sleep $SLEEP
|
||||
|
||||
# Test 8
|
||||
printf "\e[1;36mTest 8 Running push_swap with duplicate number\e[0;00m\n"
|
||||
pushswap 1 "-"
|
||||
checkoutput tmp/error
|
||||
if [ $VALGRIND -eq 1 ]
|
||||
then
|
||||
pushswapvalgrind "1 2 3 4 5 6 7 1"
|
||||
fi
|
||||
sleep $SLEEP
|
||||
|
||||
# Test 8
|
||||
printf "\e[1;36mTest 8 Running push_swap with duplicate number\e[0;00m\n"
|
||||
pushswap 1 "1 2 3 4 5 6 7 1"
|
||||
|
Loading…
Reference in New Issue
Block a user