aboutsummaryrefslogtreecommitdiffhomepage
path: root/zluda_inject/tests/helpers/subprocess.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zluda_inject/tests/helpers/subprocess.rs')
-rw-r--r--zluda_inject/tests/helpers/subprocess.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/zluda_inject/tests/helpers/subprocess.rs b/zluda_inject/tests/helpers/subprocess.rs
new file mode 100644
index 0000000..3d1588c
--- /dev/null
+++ b/zluda_inject/tests/helpers/subprocess.rs
@@ -0,0 +1,10 @@
+#![crate_type = "bin"]
+
+use std::io;
+use std::process::Command;
+
+fn main() -> io::Result<()> {
+ let status = Command::new("direct_cuinit.exe").status()?;
+ assert!(status.success());
+ Ok(())
+}