Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarzik committed Aug 3, 2017
1 parent 63344f3 commit 4b42e6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ obdb_LDADD = \
-lunivalue \
$(OPENSSL_LIBS) $(ARGP_LIB) $(UUID_LIB) $(ROCKS_LIB)

EXTRA_DIST = obsrv-tests.sh
EXTRA_DIST = obsrv-tests.sh test-config-obsrv.json
TESTS = obsrv-tests.sh

3 changes: 2 additions & 1 deletion obsrv-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

CWD=`pwd`
PID_FN="$CWD/obsrv.pid"
CFG_FN="./test-config-obsrv.json"

#
# Daemon startup
Expand All @@ -15,7 +16,7 @@ then
fi

# Start daemon in background
./obsrv -p $PID_FN --daemon
./obsrv -c $CFG_FN -p $PID_FN --daemon
sleep 1

# PID file must exist
Expand Down
1 change: 1 addition & 0 deletions test-config-obsrv.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit 4b42e6f

Please sign in to comment.