aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAge
* fix make test-filtersLibravatar netblue302023-01-12
|
* rel 0.9.72 testing: disable whitelisting /dev directoryLibravatar netblue302023-01-12
|
* rel 0.9.72 testing: cleanup make test-private-libLibravatar netblue302023-01-12
|
* testingLibravatar smitsohu2022-12-24
|
* tests: remove stray ;Libravatar a13460542022-09-13
|
* tests: use bash-builtin instead of external `seq`Libravatar a13460542022-09-13
|
* tests: use bash-style [[...]] instead of [...]Libravatar a13460542022-09-13
|
* tests: stop mixing tabs and spacesLibravatar a13460542022-09-13
|
* tests: add missing final newlineLibravatar a13460542022-09-13
|
* tests: fix underquotingLibravatar a13460542022-09-13
|
* tests: use an arrayLibravatar a13460542022-09-13
|
* tests: directly test for presence of commandLibravatar a13460542022-09-13
| | | | | | | | | | Test directly for presence of command instead of indirectly testing the return code. Additionally: * uses a shell builtin `command -v` instead of external `which` * `command -v` is the standardized version of `which`
* tests: fix unintentional overwriting of array valueLibravatar a13460542022-09-13
|
* tests: disable calling curl in dns test, as systemd-resolved is used on CI ↵Libravatar Reiner Herrmann2022-07-30
| | | | runner
* tests: try curl instead of wget for tracing dns resolutionLibravatar Reiner Herrmann2022-07-30
|
* tests: add alternative message for skipping testLibravatar Reiner Herrmann2022-07-30
|
* tests: drop checking for hosts file in trace testLibravatar Reiner Herrmann2022-07-30
| | | | | | | firejail is no longer detecting that /etc/hosts is getting opened. in strace it can still be seen that the file is opened via syscall, but on C library layer (which firejail is tracing) it's probably implemented differently now.
* CI: fix wrong matching for test errorsLibravatar Reiner Herrmann2022-07-30
| | | | | grep was returning non-zero exit code if it did NOT find the error marker, and zero if it did.
* testing fixLibravatar netblue302022-07-10
|
* Merge pull request #5219 from kmk3/build-reduce-config-filesLibravatar netblue302022-06-30
|\ | | | | build: reduce autoconf input files from 32 to 2
| * build: reduce autoconf input files from 32 to 2Libravatar Kelvin M. Klann2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configure summary: autoconf essentially only parses configure.ac and generates the configure script (that is, the "./configure" shell script). The latter is what actually checks what is available on the system and internally sets the value of the output variables. It then, for every filename foo in AC_CONFIG_FILES (and for every output variable name BAR in AC_SUBST), reads foo.in, replaces every occurrence of `@BAR@` with the value of the shell variable `$BAR` and generates the file foo from the result. After this, configure is finished and `make` could be executed to start the build. Now that (as of #5140) all output variables are only defined on config.mk.in and on config.sh.in, there is no need to generate any makefile nor any other mkfile or shell script at configure time. So rename every "Makefile.in" to "Makefile", mkdeb.sh.in to mkdeb.sh, src/common.mk.in to src/common.mk and leave just config.mk and config.sh as the files to be generated at configure time. This allows editing and committing all makefiles directly, without potentially having to run ./configure in between. Commands used to rename the makefiles: $ git ls-files -z -- '*Makefile.in' | xargs -0 -I '{}' sh -c \ "git mv '{}' \"\$(dirname '{}')/Makefile\"" Additionally, from my (rudimentary) testing, this commit reduces the time it takes to run ./configure by about 20~25% compared to commit 72ece92ea ("Transmission fixes: drop private-lib (#5213)", 2022-06-22). Environment: dash 0.5.11.5-1, gcc 12.1.0-2, Artix Linux, ext4 on an HDD. Commands used for benchmarking each commit: $ : >time_configure && ./configure && make distclean && for i in $(seq 1 10); do { time -p ./configure; } 2>>time_configure; done $ grep real time_configure | awk '{ total += $2 } END { print total/NR }'
* | test/fs: enable private-lib in firejail.configLibravatar Kelvin M. Klann2022-06-25
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Before running test/fs/private-lib.exp. Inspired by the configuration changes that are done on test/root/checkcfg.exp. Reason: Since commit 9741d0b60 ("fix disabled private-lib in /etc/firejail/firejail.config", 2022-06-23), the "build_and_test" job fails with the following error[1]: TESTING: private-lib (test/fs/private-lib.exp) spawn /bin/bash firejail --private-lib --private-bin=sh,bash,dash,ps,grep,ls,find,echo,stty runner@fv-az489-993:~/work/firejail/firejail/test/fs$ <private-bin=sh,bash,dash,ps,grep,ls,find,echo,stty Error: private-lib feature is disabled in Firejail configuration file runner@fv-az489-993:~/work/firejail/firejail/test/fs$ TESTING ERROR 1 This fixes CI. Fixes #5214. Relates to #5190. [1] https://github.com/netblue30/firejail/runs/7030862406
* deprecating --shell (3) (#5196)Libravatar netblue302022-06-21
|
* shell none set as default (6)Libravatar netblue302022-06-19
|
* shell none set as default (5)Libravatar netblue302022-06-19
|
* shell none set as default (4)Libravatar netblue302022-06-19
|
* more on removing cgroups (#5200)Libravatar netblue302022-06-16
|
* fix CILibravatar netblue302022-06-15
|
* test/fs/invalid_filename.exp: s/end/send/Libravatar Kelvin M. Klann2022-06-14
| | | | | This amends commit c165510dc ("CI: remove cgroup test because feature has been removed", 2022-06-13).
* CI: remove cgroup test because feature has been removedLibravatar Reiner Herrmann2022-06-13
|
* more on disable cgroupsLibravatar netblue302022-06-13
|
* shutdown testingLibravatar smitsohu2022-06-08
|
* Removed IDS feature from the default build. To enable it, use --enable-ids ↵Libravatar netblue302022-05-25
| | | | at compile time.
* fix testingLibravatar smitsohu2022-03-10
|
* fix testingLibravatar smitsohu2022-03-10
|
* --tab: enable shell tab completionLibravatar netblue302022-02-20
|
* testing: fix expect matching of numbersLibravatar smitsohu2022-02-09
| | | | | | | | | | The sandbox timestamp should not be available for matching when output is already expected from the next command (this is only a problem if numeric output if expected from the first command in the sandbox). A possible alternative would be to flush the expect output buffer with 'expect "*"' after the sandbox is up.
* fix --private-cwd, issue #4910Libravatar netblue302022-02-08
|
* small fixesLibravatar netblue302022-01-31
|
* testingLibravatar smitsohu2022-01-23
|
* fix fcopy testingLibravatar netblue302022-01-11
|
* 2022 copyright updateLibravatar netblue302022-01-07
|
* fix make test-filterLibravatar netblue302021-12-19
|
* testingLibravatar netblue302021-12-18
|
* testingLibravatar smitsohu2021-11-20
|
* Revert "allow/deny fbuilder"Libravatar Kelvin M. Klann2021-10-06
| | | | | | | | | | | | | | | | This reverts commit 4438f14f2892b5c88d158ae8fad0a80a2eebfd44. Also, partially revert related commit e4307b409 ("fix whitelist/allow in make test-utils") to keep the tests working. The profiles are being generated using aliases, which are not used on the profiles in the repository. So generate them using the normal commands for consistency. See also commit dd13595b8 ("Revert "allow/deny help and man pages"") / PR #4502. Relates to #4410. Misc: I noticed this on issue #4592.
* join: add support for rlimit optionsLibravatar smitsohu2021-09-22
|
* fix whitelist/allow in make test-utilsLibravatar startx20172021-07-29
|
* cleanup make test-fsLibravatar startx20172021-07-29
|
* rework make test-fsLibravatar startx20172021-07-29
|