package main

import (
	"os"
	"testing"

	"fortio.org/testscript"
)

func TestMain(m *testing.M) {
	// Runs the cli_test.txtar (https://github.com/fortio/testscript#testscript) tests.
	os.Exit(testscript.RunMain(m, map[string]func() int{
		"fortio": Main,
	}))
}

func TestDNSPing(t *testing.T) {
	testscript.Run(t, testscript.Params{Dir: "./"})
}
