1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

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).
This commit is contained in:
Lukáš Růžička 2024-02-19 11:26:39 +01:00
parent 6ea99de13b
commit 99b4d6ec17

View File

@ -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;