Skip to content

Commit 5e6dcde

Browse files
committed
tests: do not fail dispvm+thunderbird test early if TB is not installed
Checking if Thunderbird is installed is done later. Do not fail on preparing its configuration - make it work also if /etc/thunderbird/pref isn't pre-existing. If TB is not installed, the test will be recorded as skipped anyway (so the file won't be used), but create the dir anyway. This will allow working with distributions not pre-creating that directory (if any).
1 parent 9196c9a commit 5e6dcde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qubes/tests/integ/dispvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ def test_100_open_in_dispvm(self):
962962
# disable donation message as it messes with editor detection
963963
self.loop.run_until_complete(
964964
self.testvm1.run_for_stdio(
965-
"cat > /etc/thunderbird/pref/test.js",
965+
"mkdir -p /etc/thunderbird/pref && cat > /etc/thunderbird/pref/test.js",
966966
input=b'pref("app.donation.eoy.version.viewed", 100);\n',
967967
user="root",
968968
)

0 commit comments

Comments
 (0)