test: Do not hardcode runc specific output

"executable file not found in" is part of a runc
specific output when 'runc exec' fails.
This prevents the execsync failure to pass when running
ocid with other runtimes than runc.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2017-01-10 23:34:03 +01:00
parent 4c7583b467
commit ce54c1e5e9
No known key found for this signature in database
GPG key ID: 8A803CDD4F566C4A

View file

@ -387,7 +387,6 @@ function teardown() {
run ocic ctr execsync --id "$ctr_id" doesnotexist
echo "$output"
[ "$status" -ne 0 ]
[[ "$output" =~ "executable file not found in" ]]
cleanup_ctrs
cleanup_pods