annotate fuzzers_test.sh @ 1629:258b57b208ae

Fix for issue successfull login of disabled user (#78) This commit introduces fix for scenario: 1. Root login disabled on dropbear 2. PAM authentication model enabled While login as root user, after prompt for password user is being notified about login failrue, but after second attempt of prompt for password within same session, login becames succesfull. Signed-off-by: Pawel Rapkiewicz <[email protected]>
author vincentto13 <33652988+vincentto13@users.noreply.github.com>
date Wed, 20 Mar 2019 15:03:40 +0100
parents 3fc0e9a0978b
children f52919ffd3b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1566
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 #!/bin/sh
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 # runs fuzz corpus with standalone fuzzers
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5 result=0
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
6
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
7 hg clone https://secure.ucc.asn.au/hg/dropbear-fuzzcorpus fuzzcorpus || exit 1
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
8 for f in `make list-fuzz-targets`; do
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
9 ./$f fuzzcorpus/$f/* || result=1
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
10 done
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
11
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
12 exit $result