From 388632d7ffa9c8c8b3368ecf12a49ed05d34404e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 7 Oct 2018 15:25:15 +0200 Subject: [PATCH] Fix: Do not pass --rtp in testing environment As we run tests in-memory (already for a rather long time), we don't need to pass this anymore. Signed-off-by: Matthias Beyer --- lib/etc/libimagutil/src/testing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/etc/libimagutil/src/testing.rs b/lib/etc/libimagutil/src/testing.rs index b060a466..70ec7915 100644 --- a/lib/etc/libimagutil/src/testing.rs +++ b/lib/etc/libimagutil/src/testing.rs @@ -96,7 +96,7 @@ macro_rules! make_mock_app { #[allow(unused)] pub fn generate_test_runtime<'a>(mut args: Vec<&'static str>) -> Result, RuntimeError> { - let mut cli_args = vec![$appname, "--rtp", "/tmp"]; + let mut cli_args = vec![$appname]; cli_args.append(&mut args);