-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_tests.sh
executable file
·50 lines (38 loc) · 910 Bytes
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh
bold=$(tput bold)
normal=$(tput sgr0)
ret=0
if [ -f './env' ]; then
source "./env"
fi
run_bacon ( ) {
if [ -f $library_path ]; then
echo "${bold}$library_name${normal}"
FFI_KRB5_LIBRARY_NAME=$library_path bacon -a
ret=$(($ret+$?))
echo ''
fi
}
echo "${bold}Autodiscover${normal}"
bacon -a
ret=$(($ret+$?))
echo ''
library_name='MacPorts MIT'
library_path='/opt/local/lib/libkrb5.dylib'
run_bacon
library_name='OS X built-in'
library_path='/usr/lib/libkrb5.dylib'
run_bacon
library_name='Debian x64 Heimdal'
library_path='/usr/lib/x86_64-linux-gnu/libkrb5.so.26'
run_bacon
library_name='Debian x64 MIT'
library_path='/usr/lib/x86_64-linux-gnu/libkrb5.so.3'
run_bacon
library_name='Debian i386 Heimdal'
library_path='/usr/lib/i386-linux-gnu/libkrb5.so.26'
run_bacon
library_name='Debian i386 MIT'
library_path='/usr/lib/i386-linux-gnu/libkrb5.so.3'
run_bacon
exit $ret