blob: 159994e9bbc6b4fd3ae36c36572f5cbcf99e20b7 (
plain)
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
51
52
53
|
#!/bin/sh
# Valid tests to run
tests="torture_bind_config \
torture_buffer \
torture_bytearray \
torture_callbacks \
torture_channel \
torture_config \
torture_crypto \
torture_hashes \
torture_init \
torture_isipaddr \
torture_keyfiles \
torture_knownhosts_parsing \
torture_list \
torture_misc \
torture_moduli \
torture_options \
torture_packet \
torture_packet_filter \
torture_pki \
torture_pki_ecdsa \
torture_pki_ed25519 \
torture_pki_rsa \
torture_push_pop_dir \
torture_rand \
torture_session_keys \
torture_temp_dir \
torture_temp_file \
torture_threads_buffer \
torture_threads_crypto \
torture_threads_init \
torture_threads_pki_rsa \
torture_tokens \
"
ptestdir=$(dirname "$(readlink -f "$0")")
cd "$ptestdir"/tests || exit
# Run specified tests
for f in $tests
do
if test -e ./"$f"; then
if ./"$f" > ./"$f".out 2> ./"$f".err; then
echo "PASS: $f"
else
echo "FAIL: $f"
fi
else
echo "SKIP: $f"
fi
done
|