From 8ff43607501513009ce55934adb817c6d6adc04f Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 17 Mar 2020 15:24:46 +0100 Subject: [PATCH] tests: Add test for STATE_DIRECTORY being multiple paths --- tests/fprintd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fprintd.py b/tests/fprintd.py index 3b3f779..e3f3749 100755 --- a/tests/fprintd.py +++ b/tests/fprintd.py @@ -178,7 +178,7 @@ class FPrintdTest(dbusmock.DBusTestCase): timeout = get_timeout('daemon_start') # seconds env = os.environ.copy() env['G_DEBUG'] = 'fatal-criticals' - env['STATE_DIRECTORY'] = self.state_dir + env['STATE_DIRECTORY'] = (self.state_dir + ':' + '/hopefully/a/state_dir_path/that/shouldnt/be/writable') env['RUNTIME_DIRECTORY'] = self.run_dir argv = [self.paths['daemon'], '-t']