|
@@ -134,7 +134,7 @@ function test_unique_onion_ports {
|
134
|
134
|
fi
|
135
|
135
|
|
136
|
136
|
# test that some services are not assigned the same onion port
|
137
|
|
- FILES="src/${PROJECT_NAME}-app-*"
|
|
137
|
+ FILES="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-*"
|
138
|
138
|
ports=$(grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}')
|
139
|
139
|
unique_ports=$(grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq)
|
140
|
140
|
if [[ "$ports" != "$unique_ports" ]]; then
|