Blame 0001-Avoid-a-race-condition-that-makes-the-test-to-fail.patch

3ff5885
From 7a6354b8b350b036ceb7e9447cdd7daeb4d75347 Mon Sep 17 00:00:00 2001
3ff5885
From: Qiyu Yan <yanqiyu@fedoraproject.org>
3ff5885
Date: Sat, 4 Jul 2020 18:09:12 +0800
3ff5885
Subject: [PATCH] Avoid a race condition that makes the test to fail
3ff5885
3ff5885
---
3ff5885
 CMakeLists.txt | 1 +
3ff5885
 1 file changed, 1 insertion(+)
3ff5885
3ff5885
diff --git a/CMakeLists.txt b/CMakeLists.txt
3ff5885
index 9a53641..3ab893e 100644
3ff5885
--- a/CMakeLists.txt
3ff5885
+++ b/CMakeLists.txt
3ff5885
@@ -126,4 +126,5 @@ else()
3ff5885
              COMMAND bash ${CMAKE_SOURCE_DIR}/tests/LinuxSmokeTest/basic.sh ${CMAKE_BINARY_DIR}/trojan)
3ff5885
     add_test(NAME LinuxSmokeTest-fake-client
3ff5885
              COMMAND bash ${CMAKE_SOURCE_DIR}/tests/LinuxSmokeTest/fake-client.sh ${CMAKE_BINARY_DIR}/trojan)
3ff5885
+    SET_TESTS_PROPERTIES(LinuxSmokeTest-fake-client PROPERTIES DEPENDS "LinuxSmokeTest-basic")
3ff5885
 endif()
3ff5885
-- 
3ff5885
2.26.2
3ff5885