mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Use bash in src/test/test-network.sh
This ensures we reliably call chutney's newer tools/test-network.sh when available. Fixes bug 21562; bugfix on tor-0.2.9.1-alpha.
This commit is contained in:
parent
1ebcd22e80
commit
73879aa5b6
4
changes/bug21562
Normal file
4
changes/bug21562
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (testing):
|
||||
- Use bash in src/test/test-network.sh. This ensures we reliably call
|
||||
chutney's newer tools/test-network.sh when available.
|
||||
Fixes bug 21562; bugfix on tor-0.2.9.1-alpha.
|
@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
|
||||
# Please do not modify this script, it has been moved to chutney/tools
|
||||
|
||||
@ -178,7 +178,8 @@ export CHUTNEY_NETWORK=networks/$NETWORK_FLAVOUR
|
||||
# And finish up if we're doing a dry run
|
||||
if [ "$NETWORK_DRY_RUN" = true ]; then
|
||||
# we can't exit here, it breaks argument processing
|
||||
return
|
||||
# this only works in bash: return semantics are shell-specific
|
||||
return 2>/dev/null || exit
|
||||
fi
|
||||
|
||||
cd "$CHUTNEY_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user