commit a036576168d33446f5f3e740eff6d506b6b0b354
parent 7a77db71c539cabe96c602179058a404ad70677f
Author: rexxnor <rexxnor+gnunet@brief.li>
Date: Tue, 30 Apr 2019 15:47:33 +0200
fixed up testing script
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/ascension/test/test_ascension_simple.sh b/ascension/test/test_ascension_simple.sh
@@ -63,7 +63,7 @@ checkfailexp() {
echo "$1"
if [ "$?" -ne 0 ] || [ "$1" = 'No results.' ]; then
echo "FAILED! Required record not present"
- #cleanup
+ cleanup
exit 2
fi
}
@@ -93,16 +93,15 @@ a=$(gnunet-gns -t MX -u mail.gnunet.org)
checkfailexp "$a"
a=$(gnunet-gns -t A -u nextcloud.gnunet.org)
checkfailexp "$a"
-# TODO readd this test as it does not work as of 57636ddf7 in GNUnet
-#a=$(gnunet-gns -t SOA -u @.gnunet.org)
-#checkfailexp "$a"
+a=$(gnunet-gns -t SOA -u gnunet.org)
+checkfailexp "$a"
a=$(gnunet-gns -t A -u multiple.subzones.dns.gnunet.org)
checkfailexp "$a"
a=$(gnunet-gns -t A -u subzones.dns.gnunet.org)
checkfailexp "$a"
# cleanup if we get this far
-#cleanup
+cleanup
# finish
echo "All records added successfully!!"