From 3832f700c554759184d163d9742c0f10cc403d4d Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 2 Jul 2014 17:42:50 -0700 Subject: [PATCH] Eliminate race condition in fs::Touch test --- tests/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup.sh b/tests/setup.sh index 3e9c993c3..e41f595b2 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -28,7 +28,7 @@ echo '{"Valid" : ["Entry One", "Entry Two"]}' > data/mru_ok.json echo '{"Invalid" : [1, 3]}' > data/mru_invalid.json printf %s '1234567890' > data/ten_bytes -touch data/touch_mod_time +touch -r $0 data/touch_mod_time mkdir data/options cp $d/options/* data/options