diff --git a/tests/nym-mixnode-binary-check.sh b/tests/nym-mixnode-binary-check.sh index 773e956619..b3bf719fd1 100755 --- a/tests/nym-mixnode-binary-check.sh +++ b/tests/nym-mixnode-binary-check.sh @@ -75,9 +75,14 @@ check_mixnode_binary_build echo "diff the config files after each init" echo "-------------------------------------" -echo $(cat /root/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =") >>../target/release/second_origin_config.txt +echo $(cat /root/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =") >>second_origin_config.txt # compare the two files +mv second_origin_config.txt ../../tests + +# move to parent directory +cd ../../tests + diff -w origin_config.txt second_origin_config.txt # check the status of the diff