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