1
0
mirror of https://github.com/docker/docs.git synced 2026-10-31 10:34:26 +03:00
Files
docs/test/integration/version-and-gitcommit.bats
2015-03-03 17:35:07 -08:00

11 lines
196 B
Bash

#!/usr/bin/env bats
load vars
@test "version string should contain a proper number with git commit" {
run swarm -v
[ "$status" -eq 0 ]
[[ ${lines[0]} =~ version\ [0-9]+\.[0-9]+\.[0-9]+ ]]
}