Add some tests for multi

This commit is contained in:
Matt Johnston 2014-03-07 21:14:12 +08:00
parent f0bf37b6cb
commit ce9f9594da

View File

@ -3,13 +3,13 @@ compiler:
- gcc - gcc
script: script:
- autoconf && autoheader && ./configure --$BUNDLEDLIBTOM-bundled-libtom CFLAGS="-O2 -Wall -Wno-pointer-sign" && make - mkdir ~/inst
- ./dropbearkey -t rsa -f testrsa - autoconf && autoheader && ./configure --$BUNDLEDLIBTOM-bundled-libtom CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst && make install
- ./dropbearkey -t dss -f testdss - ~/inst/bin/dropbearkey -t rsa -f testrsa
- ./dropbearkey -t ecdsa -f testec256 -s 256 - ~/inst/bin/dropbearkey -t dss -f testdss
- ./dropbearkey -t ecdsa -f testec384 -s 384 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
- ./dropbearkey -t ecdsa -f testec521 -s 521 - ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
- ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
before_install: before_install:
- sudo apt-get update -qq - sudo apt-get update -qq
@ -18,5 +18,7 @@ before_install:
env: env:
- BUNDLEDLIBTOM=enable - BUNDLEDLIBTOM=enable
- BUNDLEDLIBTOM=disable - BUNDLEDLIBTOM=disable
- MULTI=1
- MULTI=0