mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
11 lines
442 B
Bash
Executable File
11 lines
442 B
Bash
Executable File
#!/bin/sh
|
|
# Check that tor regenerates keys when key files are zero-length
|
|
|
|
exitcode=0
|
|
|
|
"${SHELL:-sh}" "${abs_top_srcdir:-.}/src/test/zero_length_keys.sh" "${builddir:-.}/src/or/tor" -z || exitcode=1
|
|
"${SHELL:-sh}" "${abs_top_srcdir:-.}/src/test/zero_length_keys.sh" "${builddir:-.}/src/or/tor" -d || exitcode=1
|
|
"${SHELL:-sh}" "${abs_top_srcdir:-.}/src/test/zero_length_keys.sh" "${builddir:-.}/src/or/tor" -e || exitcode=1
|
|
|
|
exit ${exitcode}
|