comparison libtomcrypt/run.sh @ 1471:6dba84798cd5

Update to libtomcrypt 1.18.1, merged with Dropbear changes
author Matt Johnston <matt@ucc.asn.au>
date Fri, 09 Feb 2018 21:44:05 +0800
parents 0cbe8f6dbf9e
children
comparison
equal deleted inserted replaced
1470:8bba51a55704 1471:6dba84798cd5
1 #!/bin/bash 1 #!/bin/bash
2
3 # output version
4 bash printinfo.sh
5
2 bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5" 6 bash build.sh " $1" "$2 -O2" "$3 IGNORE_SPEED=1" "$4" "$5"
3 if [ -a testok.txt ] && [ -f testok.txt ]; then 7 if [ -a testok.txt ] && [ -f testok.txt ]; then
4 echo 8 echo
5 else 9 else
6 echo 10 echo
7 echo "Test failed" 11 echo "Test failed"
8 exit 1 12 exit 1
9 fi 13 fi
10 14
11 rm -f testok.txt 15 rm -f testok.txt
12 bash build.sh " $1" "$2 -Os" " $3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5" 16 bash build.sh " $1" "$2 -Os" "$3 IGNORE_SPEED=1 LTC_SMALL=1" "$4" "$5"
13 if [ -a testok.txt ] && [ -f testok.txt ]; then 17 if [ -a testok.txt ] && [ -f testok.txt ]; then
14 echo 18 echo
15 else 19 else
16 echo 20 echo
17 echo "Test failed" 21 echo "Test failed"
18 exit 1 22 exit 1
19 fi 23 fi
20 24
21 rm -f testok.txt 25 rm -f testok.txt
22 bash build.sh " $1" " $2" " $3 " "$4" "$5" 26 bash build.sh " $1" "$2" "$3 LTC_DEBUG=1" "$4" "$5"
23 if [ -a testok.txt ] && [ -f testok.txt ]; then 27 if [ -a testok.txt ] && [ -f testok.txt ]; then
24 echo 28 echo
25 else 29 else
26 echo 30 echo
27 echo "Test failed" 31 echo "Test failed"
28 exit 1 32 exit 1
33 fi
34
35 rm -f testok.txt
36 bash build.sh " $1" "$2" "$3" "$4" "$5"
37 if [ -a testok.txt ] && [ -f testok.txt ]; then
38 echo
39 else
40 echo
41 echo "Test failed"
42 exit 1
29 fi 43 fi
30 44
31 exit 0 45 exit 0
32 46
33 # $Source: /cvs/libtom/libtomcrypt/run.sh,v $ 47 # ref: $Format:%D$
34 # $Revision: 1.15 $ 48 # git commit: $Format:%H$
35 # $Date: 2005/07/23 14:18:31 $ 49 # commit time: $Format:%ai$