1#!/usr/bin/env bats 2 3load helpers 4 5@test "runc version" { 6 runc -v 7 [ "$status" -eq 0 ] 8 [[ ${lines[0]} =~ runc\ version\ [0-9]+\.[0-9]+\.[0-9]+ ]] 9 [[ ${lines[1]} =~ commit:+ ]] 10 [[ ${lines[2]} =~ spec:\ [0-9]+\.[0-9]+\.[0-9]+ ]] 11}
View as plain text