From 538d9259203175aebef2d1f26663944675797d2c Mon Sep 17 00:00:00 2001 From: bl2e <53062696+bl2e@users.noreply.github.com> Date: Sat, 20 Jun 2020 23:37:56 -0700 Subject: [PATCH] Fix post-execution path checks to be compatible with Windows --- tests/testsuite/install.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/testsuite/install.rs b/tests/testsuite/install.rs index f7d93fb5635..9c5a1e72651 100644 --- a/tests/testsuite/install.rs +++ b/tests/testsuite/install.rs @@ -330,7 +330,10 @@ fn install_target_dir() { path.push("td_test"); assert!(path.exists()); + #[cfg(not(windows))] path.push("release/foo"); + #[cfg(windows)] + path.push("release/foo.exe"); assert!(path.exists()); }