aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Unterwurzacher2023-05-17 15:31:52 +0200
committerJakob Unterwurzacher2023-05-17 15:34:47 +0200
commitd7a3d7b97d0879853afa38cacf56e9582ad2a59d (patch)
treefe84bfce644e28b473852ce2bd3fd47f4da68d49 /Makefile
parent76d0f3ca7c491b39197e1a69c52b63c39455acfc (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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 ./...