From 940cd549ab7bd997261b94762fed8cb9aa7f10b5 Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Mon, 4 Apr 2016 00:58:37 +0000 Subject: [PATCH] more timeout tests --- tests/Flags/{--timeout => --timeout fail} | 2 -- tests/Flags/--timeout success | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) rename tests/Flags/{--timeout => --timeout fail} (53%) create mode 100755 tests/Flags/--timeout success diff --git a/tests/Flags/--timeout b/tests/Flags/--timeout fail similarity index 53% rename from tests/Flags/--timeout rename to tests/Flags/--timeout fail index b28bcca..3de20ac 100755 --- a/tests/Flags/--timeout +++ b/tests/Flags/--timeout fail @@ -1,3 +1 @@ -set -e -$TEST_SHELL ../../urchin --shell sh .slow-tests ! $TEST_SHELL ../../urchin --shell sh --timeout 0.3 .slow-tests diff --git a/tests/Flags/--timeout success b/tests/Flags/--timeout success new file mode 100755 index 0000000..5c12c53 --- /dev/null +++ b/tests/Flags/--timeout success @@ -0,0 +1 @@ +$TEST_SHELL ../../urchin --shell sh .slow-tests --timeout 1000