Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
spring-open
/
3e6a0bc1859495d74c6434bf257af424df07f31a
/
.
/
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