summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-21 14:05:41 -0400
committerGitHub <noreply@github.com>2021-09-21 14:05:41 -0400
commitcd7b48198c38c5028540e85dc72dd3406f4318f0 (patch)
treeec1302c30273a6e9928d4c0097af3750fbaba0e4 /test
parentd8d494994aba312b21582a4820268ef5f5c15db0 (diff)
parent34043bd81d3c7a84e8be0a69a6b1c3f55d752a21 (diff)
downloadpodman-cd7b48198c38c5028540e85dc72dd3406f4318f0.tar.gz
podman-cd7b48198c38c5028540e85dc72dd3406f4318f0.tar.bz2
podman-cd7b48198c38c5028540e85dc72dd3406f4318f0.zip
Merge pull request #11631 from cevich/replace_hack-get_release_info
Fix Error, empty output for info: 'VERSION'
Diffstat (limited to 'test')
-rw-r--r--test/version/main.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/version/main.go b/test/version/main.go
new file mode 100644
index 000000000..2a751de78
--- /dev/null
+++ b/test/version/main.go
@@ -0,0 +1,11 @@
+package main
+
+import (
+ "fmt"
+
+ "github.com/containers/podman/v3/version"
+)
+
+func main() {
+ fmt.Printf(version.Version.String())
+}