aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-19 22:56:22 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-19 22:56:22 +0900
commit3683f556df1324b1ce575dd5932d174d75512f7a (patch)
tree8920396a04fed596c9532f941839499106a3df7d /src/gns
parentcfdf9ea8c1246979f48174628872e79cfb1657a2 (diff)
downloadgnunet-3683f556df1324b1ce575dd5932d174d75512f7a.tar.gz
gnunet-3683f556df1324b1ce575dd5932d174d75512f7a.zip
GNS: Make string formats more comaptible with DNS zonefiles
Diffstat (limited to 'src/gns')
-rwxr-xr-xsrc/gns/test_gns_mx_lookup.sh4
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`
18which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 5" 18which timeout > /dev/null 2>&1 && DO_TIMEOUT="timeout 5"
19 19
20MY_EGO="myego" 20MY_EGO="myego"
21TEST_MX="5,mail.+" 21TEST_MX="5 mail.+"
22gnunet-arm -s -c test_gns_lookup.conf 22gnunet-arm -s -c test_gns_lookup.conf
23gnunet-identity -C $MY_EGO -c test_gns_lookup.conf 23gnunet-identity -C $MY_EGO -c test_gns_lookup.conf
24PKEY=`gnunet-identity -d | grep "$MY_EGO - " | awk '{print $3'}` 24PKEY=`gnunet-identity -d | grep "$MY_EGO - " | awk '{print $3'}`
25WANT_MX="5,mail.$PKEY" 25WANT_MX="5 mail.$PKEY"
26gnunet-namestore -p -z $MY_EGO -a -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf 26gnunet-namestore -p -z $MY_EGO -a -n www -t MX -V "$TEST_MX" -e never -c test_gns_lookup.conf
27 27
28RES_MX=`$DO_TIMEOUT gnunet-gns --raw -u www.$MY_EGO -t MX -c test_gns_lookup.conf` 28RES_MX=`$DO_TIMEOUT gnunet-gns --raw -u www.$MY_EGO -t MX -c test_gns_lookup.conf`