~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to libtomcrypt/testme.sh

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2008-03-27 20:08:06 UTC
  • mfrom: (1.4.1 upstream) (9 hardy)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20080327200806-c1hhdgt3ht2gk496
Tags: 0.51-1
[ Matt Johnston ]
* New upstream release.
  - Wait until a process exits before the server closes a connection,
    so that an exit code can be sent. This fixes problems with exit
    codes not being returned, which could cause scp to fail (closes:
    #448397, #472483).

[ Gerrit Pape ]
* debian/dropbear.postinst: don't print an error message if the
  update-service program is not installed (thx Matt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
# get uname 
11
11
echo "uname="`uname -a`
 
12
 
 
13
# get gcc name
 
14
echo "gcc="`gcc -dumpversion`
12
15
echo
13
16
 
14
17
# stock build
15
 
bash run.sh "STOCK" " " $1 || exit 1
 
18
bash run.sh "STOCK" " " "$1" "$2" "$3" || exit 1
16
19
 
17
20
# SMALL code
18
 
bash run.sh "SMALL" "-DLTC_SMALL_CODE" $1 || exit 1
 
21
bash run.sh "SMALL" "-DLTC_SMALL_CODE" "$1" "$2" "$3" || exit 1
19
22
 
20
23
# NOTABLES
21
 
bash run.sh "NOTABLES" "-DLTC_NO_TABLES" $1 || exit 1
 
24
bash run.sh "NOTABLES" "-DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
22
25
 
23
26
# SMALL+NOTABLES
24
 
bash run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" $1 || exit 1
 
27
bash run.sh "SMALL+NOTABLES" "-DLTC_SMALL_CODE -DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
25
28
 
26
29
# CLEANSTACK
27
 
bash run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" $1 || exit 1
 
30
bash run.sh "CLEANSTACK" "-DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
28
31
 
29
32
# CLEANSTACK + SMALL
30
 
bash run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" $1 || exit 1
 
33
bash run.sh "CLEANSTACK+SMALL" "-DLTC_SMALL_CODE -DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
31
34
 
32
35
# CLEANSTACK + NOTABLES
33
 
bash run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" $1 || exit 1
 
36
bash run.sh "CLEANSTACK+NOTABLES" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK" "$1" "$2" "$3" || exit 1
34
37
 
35
38
# CLEANSTACK + NOTABLES + SMALL
36
 
bash run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" $1 || exit 1
 
39
bash run.sh "CLEANSTACK+NOTABLES+SMALL" "-DLTC_NO_TABLES -DLTC_CLEAN_STACK -DLTC_SMALL_CODE" "$1" "$2" "$3" || exit 1
37
40
 
38
41
# NO_FAST
39
 
bash run.sh "NO_FAST" "-DLTC_NO_FAST" $1 || exit 1
 
42
bash run.sh "NO_FAST" "-DLTC_NO_FAST" "$1" "$2" "$3" || exit 1
 
43
 
 
44
# NO_FAST + NOTABLES
 
45
bash run.sh "NO_FAST+NOTABLES" "-DLTC_NO_FAST -DLTC_NO_TABLES" "$1" "$2" "$3" || exit 1
40
46
 
41
47
# NO_ASM
42
 
bash run.sh "NO_ASM" "-DLTC_NO_ASM" $1 || exit 1
 
48
bash run.sh "NO_ASM" "-DLTC_NO_ASM" "$1" "$2" "$3" || exit 1
43
49
 
44
50
# test build with no testing
45
 
bash testbuild.sh "NOTEST" "-DLTC_NO_TEST" $1 || exit 1
 
51
bash testbuild.sh "NOTEST" "-DLTC_NO_TEST" "$1" "$2" "$3" || exit 1
46
52
 
47
53
# test build with no file routines
48
 
bash testbuild.sh "NOFILE" "-DLTC_NO_FILE" $1 || exit 1
 
54
bash testbuild.sh "NOFILE" "-DLTC_NO_FILE" "$1" "$2" "$3" || exit 1
49
55
 
50
56
# $Source: /cvs/libtom/libtomcrypt/testme.sh,v $   
51
 
# $Revision: 1.16 $   
52
 
# $Date: 2005/05/11 18:59:53 $ 
 
57
# $Revision: 1.20 $   
 
58
# $Date: 2006/01/26 14:49:43 $