Skip to content

Commit

Permalink
tests: Fix functional tests to include workload directory
Browse files Browse the repository at this point in the history
The runtime directory should now include "workloads"
directory. Fix functional tests to address this.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
  • Loading branch information
amshinde committed Jun 21, 2017
1 parent 66cbd66 commit 9b91166
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/functional/common.bash.in
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ function verify_runtime_dirs()
[ "${lines[3]}" = "hypervisor.sock" ]
[ "${lines[4]}" = "process.sock" ]
[ "${lines[5]}" = "state.json" ]
[ "${lines[6]}" = "" ]
[ "${lines[6]}" = "workload" ]
[ "${lines[7]}" = "" ]

[ -S "$console_sock" ]
[ -S "$ga_ctl_sock" ]
Expand All @@ -168,7 +169,8 @@ function verify_runtime_dirs()
elif [ "$state" = "killed" ]
then
[ "${lines[0]}" = "state.json" ]
[ "${lines[1]}" = "" ]
[ "${lines[1]}" = "workload" ]
[ "${lines[2]}" = "" ]
else
log_msg "Invalid state: '$state'"
false
Expand Down

0 comments on commit 9b91166

Please sign in to comment.