From a9934316c13d1f2946cae7dbdfe0e37f3730462d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 25 Jul 2017 05:47:34 +0200 Subject: [PATCH] tests: create temporary files in /tmp --- qubes/tests/integ/basic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/tests/integ/basic.py b/qubes/tests/integ/basic.py index 78df0a6b..bb0d7b1c 100644 --- a/qubes/tests/integ/basic.py +++ b/qubes/tests/integ/basic.py @@ -428,7 +428,7 @@ class TC_30_Gui_daemon(qubes.tests.SystemTestCase): # Then paste it to the other window window_title = 'user@{}'.format(testvm2.name) p = self.loop.run_until_complete(testvm2.run( - 'zenity --entry --title={} > test.txt'.format(window_title))) + 'zenity --entry --title={} > /tmp/test.txt'.format(window_title))) self.wait_for_window(window_title) subprocess.check_call(['xdotool', 'key', '--delay', '100', @@ -437,7 +437,7 @@ class TC_30_Gui_daemon(qubes.tests.SystemTestCase): # And compare the result (test_output, _) = self.loop.run_until_complete( - testvm2.run_for_stdio('cat test.txt')) + testvm2.run_for_stdio('cat /tmp/test.txt')) self.assertEqual(test_string, test_output.strip().decode('ascii')) clipboard_content = \