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