mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +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:
parent
6ea99de13b
commit
99b4d6ec17
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user