From 619ee1ac752c4db6b06d867343aeec3a21194702 Mon Sep 17 00:00:00 2001 From: Dave Musicant / thinkpad Date: Tue, 3 May 2022 14:13:38 -0500 Subject: [PATCH] fixed commitlog linting errors --- tests/commitlog.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/commitlog.bats b/tests/commitlog.bats index b19ed74..1f96266 100644 --- a/tests/commitlog.bats +++ b/tests/commitlog.bats @@ -9,7 +9,7 @@ load startup-shutdown function commit_log_messages_working { #@test # Start up gitwatch with logging, see if works - ${BATS_TEST_DIRNAME}/../gitwatch.sh -l 10 "$testdir/local/remote" 3>&- & + "${BATS_TEST_DIRNAME}"/../gitwatch.sh -l 10 "$testdir/local/remote" 3>&- & GITWATCH_PID=$! # Keeps kill message from printing to screen @@ -25,11 +25,11 @@ function commit_log_messages_working { #@test # Wait a bit for inotify to figure out the file has changed, and do its add, # and commit - sleep $WAITTIME + sleep "$WAITTIME" # Make a new change echo "line2" >> file1.txt - sleep $WAITTIME + sleep "$WAITTIME" # Check commit log that the diff is in there run git log -1 --oneline