summaryrefslogtreecommitdiff
path: root/test/TEST-64-UDEV-STORAGE
Commit message (Collapse)AuthorAgeFilesLines
* test: add coverage for the nvme-subsystemFrantisek Sumsal2022-10-111-0/+30
| | | | | | | Specifically for: - https://github.com/systemd/systemd/pull/24748 - https://github.com/systemd/systemd/pull/24766 - https://github.com/systemd/systemd/pull/24946
* test: drop the explicit bus assignment for the pci-bridgeFrantisek Sumsal2022-10-021-1/+1
| | | | | as it doesn't work with the Q35 chipset due to a different topology. Auto-assignment seems to work with both Q35 and i440FX chipsets.
* test: add testcase for link priorityYu Watanabe2022-09-191-7/+11
|
* test-64: run one more subtest on non-KVM environment with relaxed conditionYu Watanabe2022-08-281-15/+18
|
* test: respect the global $QEMU_TIMEOUTFrantisek Sumsal2022-08-261-1/+0
| | | | | | | | CIs set QEMU and nspawn timeouts by themselves which reflect their needs and possibilities, so let's respect that value, instead of using one pre-set value which might or might not work for all of them. Both Ubuntu CI and CentOS CI set these values themselves.
* test: temporarily (?) disable TEST-64 in Ubuntu CIFrantisek Sumsal2022-08-261-0/+0
| | | | | The machines are still way too slow for the test to work properly without accel.
* test: require KVM only for specific sub-testsFrantisek Sumsal2022-08-261-5/+5
| | | | since other sub-tests run relatively fine with TCG as well.
* test: lower the # of mpath devices to 16Frantisek Sumsal2022-08-261-2/+2
| | | | to make the test suitable for slower machines.
* test: drop redundant IMAGE_NAME=Yu Watanabe2022-06-101-1/+0
| | | | If it is not specified, then "default" will be used.
* docs: use lowercase "qemu" and other minor tweaks to test docsZbigniew Jędrzejewski-Szmek2022-05-041-2/+2
| | | | | | | | | We used both "qemu" and "QEMU", let's use the lower-case version everywhere since it's also the name of the binary and the version that people are most familiar with. The stuff under test/ is not only for the integeration tests, but also for various other test-related stuff, so adjust the docs a bit.
* test: add a test case for MD + LVM + ext4Frantisek Sumsal2022-04-141-0/+25
|
* test: add MD-related tests to TEST-64Frantisek Sumsal2022-04-141-0/+30
|
* Revert "test: temporary workaround for #21819"Frantisek Sumsal2022-03-251-8/+3
| | | | This reverts commit 95e35511bbdb7810c00c2e4a6cbda5b187192f74.
* test: temporary workaround for #21819Frantisek Sumsal2022-01-271-3/+8
| | | | | | | | | Since the TEST-64-UDEV-STORAGE fails are quite frequent now and the root cause is yet to be discovered, let's add a kludge that attempts to retry the test up to two more times in case it fails, so we don't unnecessarily disturb CIs while the issue is being investigated. Revert this commit once #21819 is sorted out.
* test: don't leak local variable to outer scopesFrantisek Sumsal2022-01-271-2/+6
|
* test: bump the timeout when collecting test coverageFrantisek Sumsal2021-12-161-2/+6
|
* Typos found by codespellDimitri Papadopoulos2021-10-201-1/+1
|
* tests: add spdx headers to scripts and MakefilesZbigniew Jędrzejewski-Szmek2021-10-181-0/+1
|
* test: test udev with a _very_ long device nameFrantisek Sumsal2021-10-071-5/+42
| | | | Let's attempt to provide some coverage for #16161, #6867, and similar.
* test: iSCSI-related udev testsFrantisek Sumsal2021-09-291-0/+36
|
* test: save journals of only failing test cases in TEST-64Frantisek Sumsal2021-09-291-0/+2
|
* test: sort the features alphabeticallyFrantisek Sumsal2021-09-291-4/+4
|
* test: regenerate module dependencies after installing all modulesFrantisek Sumsal2021-09-191-1/+2
|
* test: fix error handling with `set -e`Frantisek Sumsal2021-09-191-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unfortunately, when checking the return/exit code using &&, ||, if, while, etc., `set -e` is disabled for all nested functions as well, which leads to incorrectly ignored errors, *sigh*. Example: ``` set -eu set -o pipefail task() { echo "task init" echo "this should fail" false nonexistentcommand echo "task end (we shouldn't be here)" } if ! task; then echo >&2 "The task failed" exit 1 else echo "The task passed" fi ``` ``` $ bash test.sh task init this should fail test.sh: line 10: nonexistentcommand: command not found task end (we shouldn't be here) The task passed $ echo $? 0 ``` But without the `if`, everything works "as expected": ``` set -eu set -o pipefail task() { echo "task init" echo "this should fail" false nonexistentcommand echo "task end (we shouldn't be here)" } task ``` ``` $ bash test.sh task init this should fail $ echo $? 1 ``` Wonderful.
* test: btrfs-related udev testsFrantisek Sumsal2021-09-191-6/+44
|
* test: use subshells a bit moreFrantisek Sumsal2021-09-181-28/+28
| | | | | to tweak shell flags in specific functions without affecting the rest of the script.
* test: cleanup the intermediate disk imagesFrantisek Sumsal2021-09-181-15/+18
|
* test: tidy up the feature handlingFrantisek Sumsal2021-09-181-9/+14
|
* test: unify handling of supported "features"Frantisek Sumsal2021-09-171-4/+23
|
* test: basic LVM testsFrantisek Sumsal2021-09-151-0/+38
|
* test: coverage for #19946Frantisek Sumsal2021-09-121-0/+16
|
* test: add a basic multipath test + failoverFrantisek Sumsal2021-09-121-2/+50
|
* test: use one call to install necessary modulesFrantisek Sumsal2021-09-121-4/+1
|
* test: udev storage testsFrantisek Sumsal2021-09-082-0/+199