From 99b4d6ec1788f0f09b1e1d4b3199927633508214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Mon, 19 Feb 2024 11:26:39 +0100 Subject: [PATCH] Run scripts with assertions. Creating the .invisible.txt file was done using non-assertion commands. The tests have been failing for some and it seems like the commands did not run correctly. Running them with assertions will make sure that they will run (or fail correctly). --- tests/applications/nautilus/aaa_setup.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/applications/nautilus/aaa_setup.pm b/tests/applications/nautilus/aaa_setup.pm index a8497d64..22576775 100644 --- a/tests/applications/nautilus/aaa_setup.pm +++ b/tests/applications/nautilus/aaa_setup.pm @@ -16,9 +16,9 @@ sub run { # Download the test data download_testdata(); - enter_cmd("touch /home/test/Documents/.invisible.txt"); - enter_cmd("chown test:test /home/test/Documents/.invisible.txt"); - enter_cmd("rm -f /home/test/*reference*"); + assert_script_run("touch /home/test/Documents/.invisible.txt"); + assert_script_run("chown test:test /home/test/Documents/.invisible.txt"); + assert_script_run("rm -f /home/test/*reference*"); # Exit the terminal desktop_vt;