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