Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-03-28 | test: move TEST-47-* to static files | Zbigniew Jędrzejewski-Szmek | 5 | -44/+20 | |
2020-03-28 | test: move TEST-46-HOMED to static files | Zbigniew Jędrzejewski-Szmek | 3 | -17/+10 | |
2020-03-28 | test: convert TEST-45 to a normal meson test | Zbigniew Jędrzejewski-Szmek | 7 | -159/+123 | |
On my laptop, it now takes 0.23 s. We don't need the overhead of creating an image and spawning a machine to mangle a file in /tmp. | |||||
2020-03-28 | test: move TEST-44-* to static files | Zbigniew Jędrzejewski-Szmek | 3 | -20/+12 | |
2020-03-28 | test: move TEST-43-* setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -42/+23 | |
Setup of lingering is dropped. I don't think it's necessary for anything, because the unit is still pulled in from the testsuite service. | |||||
2020-03-28 | test: move TEST-42-EXECSTOPPOST setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -30/+22 | |
2020-03-28 | test/TEST-41: use a file in /tmp and reset the contents | Zbigniew Jędrzejewski-Szmek | 1 | -2/+2 | |
If the test was run a second time from the same root, it would fail. | |||||
2020-03-28 | test: move TEST-41-ONESHOT-RESTART setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-40-EXEC-COMMAND-EX setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-39-EXECRELOAD setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -15/+7 | |
2020-03-28 | test: move TEST-37-RUNTIMEDIRECTORYPRESERVE setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -15/+8 | |
2020-03-28 | test/TEST-36: move the config files to /run | Zbigniew Jędrzejewski-Szmek | 1 | -3/+3 | |
This way we always start with a clean slate when running the test repeatedly. | |||||
2020-03-28 | test: move TEST-36-NUMAPOLICY setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -16/+7 | |
No need to call setup_nspawn_root() if we plan to only run under qemu. | |||||
2020-03-28 | test: convert TEST-35-NETWORK-GENERATOR into a unit test | Zbigniew Jędrzejewski-Szmek | 15 | -38/+46 | |
2020-03-28 | test: move TEST-34-DYNAMICUSERMIGRATE setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-33-CLEAN-UNIT setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -15/+8 | |
2020-03-28 | test: move TEST-32-OOMPOLICY setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -20/+15 | |
2020-03-28 | test: move TEST-31-DEVICE-ENUMERATION setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-30-ONCLOCKCHANGE setup to static files | Zbigniew Jędrzejewski-Szmek | 6 | -24/+12 | |
The two timezone files are now installed in the global setup. I am not too happy about this, but it still seems better than to create a completely separate image just for this. | |||||
2020-03-28 | test: move TEST-29-UDEV-ID_RENAMING setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-28-PERCENTJ-WANTEDBY setup to static files | Zbigniew Jędrzejewski-Szmek | 5 | -35/+27 | |
2020-03-28 | test: move TEST-27-STDOUTFILE setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -19/+11 | |
2020-03-28 | test: move TEST-26-SETENV setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+8 | |
Also run mask_supporting_services() here. | |||||
2020-03-28 | test/TEST-25: remove all images at the end of the test | Zbigniew Jędrzejewski-Szmek | 1 | -0/+5 | |
scratch5 would be left behind, and trying to run the test again on the same image would fail. | |||||
2020-03-28 | test: move TEST-25-IMPORT setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -15/+9 | |
Also run mask_supporting_services() here. | |||||
2020-03-28 | test: move TEST-24-UNIT-TESTS setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -40/+43 | |
I picked the list of zone files to install by grepping through the code. This is is a bit brittle, but installing all of them takes a while, and more importantly, writes a lot of lines to the log. | |||||
2020-03-28 | test-fileio: fix bogus error when /proc/cmdline contains newlines | Zbigniew Jędrzejewski-Szmek | 1 | -8/+8 | |
The kernel does not sanitize /proc/cmdline. E.g. when running under qemu, it is easy to pass a string with newline by mistake. We use read_one_line_file(), so we would read only the first list of the file, and write_string_file(WRITE_STRING_FILE_VERIFY_ON_FAILURE) would fail because the target file is obviously different. Change to a kernel-generated file to avoid the issue. v2: - use /proc/version instead of /proc/uptime for attempted writes, so the test test passes even if test_write_string_file_verify() takes more than 10 ms ;] | |||||
2020-03-28 | test: move TEST-23-TYPE-EXEC setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-22-TMPFILES setup to static files | Zbigniew Jędrzejewski-Szmek | 13 | -20/+9 | |
2020-03-28 | test: move TEST-20-MAINPIDGAMES setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -41/+34 | |
2020-03-28 | test: move TEST-19-DELEGATE setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-18-FAILUREACTION setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -14/+7 | |
2020-03-28 | test: move TEST-17-WANTS setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -15/+8 | |
2020-03-28 | test/TEST-16: simplify how variables are set | Zbigniew Jędrzejewski-Szmek | 8 | -20/+19 | |
The amount of lines doesn't change much, but I think it's much more straightforward this way. | |||||
2020-03-28 | test: move TEST-16-EXTEND-TIMEOUT setup to static files | Zbigniew Jędrzejewski-Szmek | 13 | -50/+29 | |
2020-03-28 | test/TEST-15: call daemon-reload in two more places | Zbigniew Jędrzejewski-Szmek | 1 | -0/+2 | |
Sometimes the test would fail there, nondeterministically. I'm not sure why, but relying on PID1 not caching the file is clearly very brittle. Let's instead call daemon-reload. | |||||
2020-03-28 | test/TEST-15: remove all created unit files | Zbigniew Jędrzejewski-Szmek | 1 | -0/+6 | |
We would miss anything created under a template instance. | |||||
2020-03-28 | test: move TEST-15-DROPIN setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -145/+140 | |
Unfortunately the services needed to be renamed because of conflicts with other services that exist in the shared dir. | |||||
2020-03-28 | test: move most of TEST-14-MACHINE-ID setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -57/+46 | |
2020-03-28 | test: move most of TEST-13-NSPAWN-SMOKE setup to static files | Zbigniew Jędrzejewski-Szmek | 6 | -172/+167 | |
2020-03-28 | test: move TEST-12-ISSUE-3171 setup to static files | Zbigniew Jędrzejewski-Szmek | 4 | -68/+58 | |
2020-03-28 | test: move TEST-11-ISSUE-3166 setup to static files | Zbigniew Jędrzejewski-Szmek | 6 | -43/+30 | |
2020-03-28 | test: move TEST-10-ISSUE-2467 setup to static files | Zbigniew Jędrzejewski-Szmek | 6 | -28/+18 | |
2020-03-28 | test: use shell arrays and remove duplicates | Zbigniew Jędrzejewski-Szmek | 1 | -4/+63 | |
The tool lists are obviously not empty, so let's remove the test if they are. | |||||
2020-03-28 | test: move TEST-09-ISSUE-2691 setup to static files | Zbigniew Jędrzejewski-Szmek | 2 | -16/+10 | |
2020-03-28 | test: move TEST-08-ISSUE-2730 setup to static files and meson scripts | Zbigniew Jędrzejewski-Szmek | 8 | -50/+48 | |
Unfortunately meson does not install symlinks, but copies the symlink destination instead. So symlinks need to be created by a script. This commit adds both symlinks in test/testsuite-08.units/ and meson scriptlet calls. Strictly speaking, the first is not necessary, since nothing reads stuff directly from the source tree. | |||||
2020-03-28 | test: move TEST-07-ISSUE-1981 setup to static files | Zbigniew Jędrzejewski-Szmek | 3 | -15/+7 | |
2020-03-28 | test/TEST-06: make autorelabel.service a static file too | Zbigniew Jędrzejewski-Szmek | 2 | -20/+20 | |
2020-03-28 | test/TEST-06: skip test if no selinux | Zbigniew Jędrzejewski-Szmek | 1 | -1/+6 | |
I put SELINUX=disabled on my laptop, and the test fails with ENOENT when trying to write to /sys/fs/selinux/enforce. It's a bit of a special case, but let's avoid the failure. | |||||
2020-03-28 | test: move most of TEST-06-* setup to static files | Zbigniew Jędrzejewski-Szmek | 6 | -45/+32 | |