diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-19 22:56:22 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-19 22:56:22 +0900 |
commit | 3683f556df1324b1ce575dd5932d174d75512f7a (patch) | |
tree | 8920396a04fed596c9532f941839499106a3df7d /src/gns | |
parent | cfdf9ea8c1246979f48174628872e79cfb1657a2 (diff) | |
download | gnunet-3683f556df1324b1ce575dd5932d174d75512f7a.tar.gz gnunet-3683f556df1324b1ce575dd5932d174d75512f7a.zip |
GNS: Make string formats more comaptible with DNS zonefiles
Diffstat (limited to 'src/gns')
-rwxr-xr-x | src/gns/test_gns_mx_lookup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_mx_lookup.sh b/src/gns/test_gns_mx_lookup.sh index 4afc93bb8..ffbe5a1b6 100755 --- a/src/gns/test_gns_mx_lookup.sh +++ b/src/gns/test_gns_mx_lookup.sh | |||
@@ -18,11 +18,11 @@ rm -rf `gnunet-config -c test_gns_lookup.conf -f -s paths -o GNUNET_TEST_HOME` | |||
18 | which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 5" | 18 | which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 5" |
19 | 19 | ||
20 | MY_EGO="myego" | 20 | MY_EGO="myego" |
21 | TEST_MX="5,mail.+" | 21 | TEST_MX="5 mail.+" |
22 | gnunet-arm -s -c test_gns_lookup.conf | 22 | gnunet-arm -s -c test_gns_lookup.conf |
23 | gnunet-identity -C $MY_EGO -c test_gns_lookup.conf | 23 | gnunet-identity -C $MY_EGO -c test_gns_lookup.conf |
24 | PKEY=`gnunet-identity -d | grep "$MY_EGO - " | awk '{print $3'}` | 24 | PKEY=`gnunet-identity -d | grep "$MY_EGO - " | awk '{print $3'}` |
25 | WANT_MX="5,mail.$PKEY" | 25 | WANT_MX="5 mail.$PKEY" |
26 | gnunet-namestore -p -z $MY_EGO -a -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf | 26 | gnunet-namestore -p -z $MY_EGO -a -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf |
27 | 27 | ||
28 | RES_MX=`$DO_TIMEOUT gnunet-gns --raw -u www.$MY_EGO -t MX -c test_gns_lookup.conf` | 28 | RES_MX=`$DO_TIMEOUT gnunet-gns --raw -u www.$MY_EGO -t MX -c test_gns_lookup.conf` |