remove &>>
This commit is contained in:
parent
9c24cc2184
commit
10802b89df
14
urchin
14
urchin
@ -22,29 +22,29 @@ recurse() {
|
||||
indent $indent_level
|
||||
echo " ${potential_test}"
|
||||
cd "$potential_test"
|
||||
[ -f setup_dir ] && [ -x setup_dir ] && ./setup_dir &>> $stdout_file
|
||||
[ -f setup_dir ] && [ -x setup_dir ] && ./setup_dir >> $stdout_file
|
||||
for test in *
|
||||
do
|
||||
[ -f setup ] && [ -x setup ] && ./setup &>> $stdout_file
|
||||
[ -f setup ] && [ -x setup ] && ./setup >> $stdout_file
|
||||
|
||||
# $2 instead of $indent_level so it doesn't clash
|
||||
recurse "${test}" $(( $2 + 1 ))
|
||||
|
||||
[ -f teardown ] && [ -x teardown ] && ./teardown &>> $stdout_file
|
||||
[ -f teardown ] && [ -x teardown ] && ./teardown >> $stdout_file
|
||||
done
|
||||
[ -f teardown_dir ] && [ -x teardown_dir ] && ./teardown_dir &>> $stdout_file
|
||||
[ -f teardown_dir ] && [ -x teardown_dir ] && ./teardown_dir >> $stdout_file
|
||||
echo
|
||||
)
|
||||
elif [ -x "$potential_test" ]
|
||||
then
|
||||
|
||||
[ -f setup ] && [ -x setup ] && ./setup &>> $stdout_file
|
||||
[ -f setup ] && [ -x setup ] && ./setup >> $stdout_file
|
||||
|
||||
# Run the test
|
||||
./"$potential_test" &>> $stdout_file
|
||||
./"$potential_test" &> $stdout_file
|
||||
exit_code="$?"
|
||||
|
||||
[ -f teardown ] && [ -x teardown ] && ./teardown &>> $stdout_file
|
||||
[ -f teardown ] && [ -x teardown ] && ./teardown >> $stdout_file
|
||||
|
||||
indent $indent_level
|
||||
if [ "$exit_code" = '0' ]
|
||||
|
Loading…
Reference in New Issue
Block a user