From d7a3d7b97d0879853afa38cacf56e9582ad2a59d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 17 May 2023 15:31:52 +0200 Subject: tests: add TestDirectMount This is in preparation of adding directmount capability. It also check that FsName is set correctly, which is in preparation for the next patch. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8cf583a..beccc5f 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,12 @@ test: .phony: root_test root_test: ./build.bash - # Need to use TMPDIR=/var/tmp as TestOverlay fails on tmpfs. + +# Need to use TMPDIR=/var/tmp as TestOverlay fails on tmpfs. cd tests/root_test && go test -c && sudo TMPDIR=/var/tmp ./root_test.test -test.v + cd tests/cli && go test -c && sudo ./cli.test -test.v -test.run=TestDirectMount + .phony: format format: go fmt ./... -- cgit v1.2.3