summaryrefslogtreecommitdiffstats
path: root/tests/ec.rc
blob: 04405ecb829a30d0e8f2c7cb15ea52bd552e65fb (plain)
1
2
3
4
5
6
7
8
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'='
}