Use mktemp instead of /tmp in test_cmd.sh
It should avoid test file conflicts for multiple testing
environments started at the same time.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cbd65ef..b328048 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -129,6 +129,6 @@
add_executable(are_images_equal gtest/are_images_equal.cc)
target_link_libraries(are_images_equal aviftest_helpers)
add_test(NAME test_cmd COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR}/test_cmd.sh ${CMAKE_BINARY_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}/data /tmp
+ ${CMAKE_CURRENT_SOURCE_DIR}/data
)
endif()