summaryrefslogtreecommitdiffstats
path: root/test/TEST-24-UNIT-TESTS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: add temporarily blacklisted testsDan Streetman2019-10-031-0/+0
| | | | | | | | | | | | | This temporarily blacklists some tests when run under Ubuntu CI. This is the upstream side of the Debian 'upstream' test MR: https://salsa.debian.org/systemd-team/systemd/merge_requests/52 The tests blacklisted here should only be temporarily blacklisted until they can be fixed; the intention is that these blacklist files will be added and removed over time while debugging/fixing flaky and/or regressed tests, without causing test failure noise for other PRs.
* test: replace $TESTDIR/root with $initdirDan Streetman2019-08-171-11/+11
| | | | | The $initdir var is already set to $TESTDIR/root, it should be used instead of direct use of $TESTDIR/root.
* test: use "ln -fs"Zbigniew Jędrzejewski-Szmek2019-07-301-3/+3
| | | | | Without this, repeated runs of "make -C TEST/... setup" fail when trying to create the symlink.
* test: add create_empty_image_rootdir() to simplify testcase setupDan Streetman2019-07-171-6/+1
| | | | | | | | | Almost all tests were manually mounting/unmounting $TESTDIR/root from the loopback image; this moves all that into test-functions so the test setup functions are simplier. Also add test_setup_cleanup() function, to cleanup what is mounted by create_empty_image_rootdir()
* test: drop || return 1 expression which is incompatible with set -eFrantisek Sumsal2019-07-081-1/+1
| | | | | | The `set -e` option is incompatible with a subshell/compound command, which is followed by || <EXPR>. In such case, the -e option is ignored in all affected subshells/functions (see man bash(1) for command `set`).
* scripts: use 4 space indentationZbigniew Jędrzejewski-Szmek2019-04-122-4/+0
| | | | | | | | | | | | | | | | | | We had all kinds of indentation: 2 sp, 3 sp, 4 sp, 8 sp, and mixed. 4 sp was the most common, in particular the majority of scripts under test/ used that. Let's standarize on 4 sp, because many commandlines are long and there's a lot of nesting, and with 8sp indentation less stuff fits. 4 sp also seems to be the default indentation, so this will make it less likely that people will mess up if they don't load the editor config. (I think people often use vi, and vi has no support to load project-wide configuration automatically. We distribute a .vimrc file, but it is not loaded by default, and even the instructions in it seem to discourage its use for security reasons.) Also remove the few vim config lines that were left. We should either have them on all files, or none. Also remove some strange stuff like '#!/bin/env bash', yikes.
* test: parallelize tasks in TEST-24-UNIT-TESTSFrantisek Sumsal2019-03-062-22/+77
|
* test: add TEST-24-UNIT-TESTS running all basic tests under containersYu Watanabe2018-10-093-0/+141