We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e87ae9 commit a5ae65bCopy full SHA for a5ae65b
test/dmon.bats
@@ -3,7 +3,7 @@ load bats_setup
3
@test "DMON monitoring of filesystem" {
4
5
# Check if the script is being run by PowerShell
6
- [ -n "$PSVersionTable" ] && {
+ [ -r ${R}/.build_done_win ] && {
7
>&3 echo ">> Skipping DMON test on Windows PowerShell"
8
>&3 echo ">> TODO: run in background, test monitor and quit in PS"
9
return 0
@@ -13,12 +13,11 @@ load bats_setup
13
14
}
15
16
-
17
- (sleep .5;
+ (sleep 2;
18
rm -f ${TMP}/dmon_test_create.txt;
19
touch ${TMP}/dmon_test_create.txt;
20
21
- sleep 2;
+ sleep 3;
22
kill -HUP `cat ${TMP}/test_dmon.pid`) &
23
24
run ${CJIT} -p ${TMP}/test_dmon.pid --dmon ${T}/dmon.c -- ${TMP}
0 commit comments