diff --git a/test/sharness/t0185-autonat.sh b/test/sharness/t0185-autonat.sh new file mode 100755 index 000000000..88ae053e2 --- /dev/null +++ b/test/sharness/t0185-autonat.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +test_description="Test autonat" + +. lib/test-lib.sh + +# NOTE: This is currently a really dumb test just to make sure this service +# starts. We need better tests but testing AutoNAT without public IP addresses +# is tricky. + +test_init_ipfs + +test_expect_success "enable autonat" ' + ipfs config --json Swarm.EnableAutoNATService true +' + +test_launch_ipfs_daemon + +test_kill_ipfs_daemon + +test_done