package utils

import (
	"testing"

	. "github.com/onsi/ginkgo"
	. "github.com/onsi/gomega"
)

func TestUtils(t *testing.T) {
	RegisterFailHandler(Fail)
	RunSpecs(t, "Utils Suite")
}

var _ = BeforeSuite(func() {
	// create test sys tree
	err := CreateTmpSysFs()
	check(err)
})

var _ = AfterSuite(func() {
	var err error
	err = RemoveTmpSysFs()
	check(err)
})
