From: Torsten Bögershausen Date: Sat, 20 May 2017 16:55:13 GMT Subject: Re: [PATCH v2 4/6] fsmonitor: add test cases for fsmonitor extension Message-ID: In-Reply-To: <20170518201333.13088-5-benpeart@microsoft.com> > diff --git a/t/t7519-status-fsmonitor.sh b/t/t7519-status-fsmonitor.sh > new file mode 100755 > index 0000000000..d3cffc758f > --- /dev/null > +++ b/t/t7519-status-fsmonitor.sh > @@ -0,0 +1,153 @@ > +#!/bin/sh > + > +test_description='git status with file system watcher' > + > +. ./test-lib.sh > + > +clean_repo () { > + git reset --hard HEAD > + git clean -fd > + rm marker -f This Works under Linux, but not e.g. Mac OS X. Should be rm -f marker > +}