Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
spring-open
/
53a3a8c2476f255766027559b5dfc83d457c800f
/
.
/
scripts
/
check-db-status.sh
blob: b81e02d0941de1cd3351ab243702239a81c5c1ce [
file
] [
log
] [
blame
]
#! /bin/bash
DIR
=~/
ONOS
status
=
`~/titan-0.2.0/bin/gremlin.sh -e $DIR/scripts/check-db-clean | grep null | wc -l`
if
[
$status
==
0
];
then
echo
"OK"
else
echo
"BAD"
fi