Skip to content

Commit

Permalink
Remove running unauthorized tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Apr 26, 2024
1 parent ab2e96d commit 078c860
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/api/testall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,8 @@ run_test(){
myexit=0


for i in ./unauthorized-test*.sh ; do
tname=$(basename $i)
[ "$FAIL_FAST" != "0" ] && [ $myexit -ne 0 ] && return
$SHELL ${i} ${URL} &>$DIR/${tname}.output
if [ $? != 0 ] ; then
let myexit=2
test_fail "${i}"
echo "${i}: ${TEST_FAIL}" >> $DIR/testall.output
cat $DIR/${tname}.output 1>&2
cat $DIR/${tname}.output >> $DIR/testall.output
else
test_ok "${i}"
rm $DIR/${tname}.output
fi
done

#perform login
rm $DIR/cookies
$SHELL $SRC_DIR/rundecklogin.sh $URL $USER $PASS >/dev/null && test_ok "Login" || die "Login: ${TEST_FAIL}"

set +e
Expand Down

0 comments on commit 078c860

Please sign in to comment.