From a4086b9e797806528dc9dcd05c857187a9400bea Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Mar 2018 23:06:15 +0000 Subject: [PATCH] onion port test files --- src/freedombone-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-tests b/src/freedombone-tests index 45fb2632..31e9fcd8 100755 --- a/src/freedombone-tests +++ b/src/freedombone-tests @@ -134,7 +134,7 @@ function test_unique_onion_ports { fi # test that some services are not assigned the same onion port - FILES="src/${PROJECT_NAME}-app-*" + FILES="/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-*" ports=$(grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}') unique_ports=$(grep -r "_ONION_PORT=" "$FILES" | awk -F ':' '{print $2}' | uniq | awk -F '=' '{print $2}' | uniq) if [[ "$ports" != "$unique_ports" ]]; then