diff options
Diffstat (limited to 'tests/ec.rc')
-rw-r--r-- | tests/ec.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ec.rc b/tests/ec.rc new file mode 100644 index 00000000000..04405ecb829 --- /dev/null +++ b/tests/ec.rc @@ -0,0 +1,9 @@ +#!/bin/bash + +function ec_up_status() +{ + local v=$1 + local m=$2 + local ec_id=$3 + grep -E "^up =" $m/.meta/graphs/active/${v}-disperse-${ec_id}/private | cut -f2 -d'=' +} |