summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-22 14:34:32 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-23 18:36:30 +0200
commit6e8953abfc4693937c73e22ca6eddebf909d4d93 (patch)
tree22ccc5816ac4d6e2469064f7228ab8f087699483 /Makefile
parentfcc25afa55a57629359c4aac5864883b00eb15ba (diff)
downloadpodman-6e8953abfc4693937c73e22ca6eddebf909d4d93.tar.gz
podman-6e8953abfc4693937c73e22ca6eddebf909d4d93.tar.bz2
podman-6e8953abfc4693937c73e22ca6eddebf909d4d93.zip
test/testvol: rework testvol binary
Add 4 new subcommands to the testvol binary, instead of just serving the volume api it now also can create/list/remove plugins. This is required to test new functionality where volumes are create outside of podman in the plugin. Podman should then be able to pick up the new volumes. The new testvol commands are: - serve: serve the podman api like the the testvol command before - create: create a volume with the given name - list: list all volume names - remove: remove the volume with the given name Also make a small update to the testvol Containerfile so that it can build correctly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a7d1ba59e..3ed522b32 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,7 @@ test/checkseccomp/checkseccomp: $(wildcard test/checkseccomp/*.go)
.PHONY: test/testvol/testvol
test/testvol/testvol: $(wildcard test/testvol/*.go)
- $(GOCMD) build $(BUILDFLAGS) $(GO_LDFLAGS) '$(LDFLAGS_PODMAN)' -o $@ ./test/testvol
+ $(GOCMD) build -o $@ ./test/testvol
.PHONY: volume-plugin-test-img
volume-plugin-test-img: