diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2021-03-01 20:44:31 +0100 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2021-03-01 20:45:28 +0100 |
commit | 396eb2ec7c99ca8b14be04bcce94984a1237c314 (patch) | |
tree | 7ed5fadc07b29a7cacf180ab65cb61ae9e9890c1 /test/arguments/symrun.sh | |
parent | tests: drop (f)audit from tests (diff) | |
download | firejail-396eb2ec7c99ca8b14be04bcce94984a1237c314.tar.gz firejail-396eb2ec7c99ca8b14be04bcce94984a1237c314.tar.zst firejail-396eb2ec7c99ca8b14be04bcce94984a1237c314.zip |
tests: also remove arguments tests which also depend on faudit
Diffstat (limited to 'test/arguments/symrun.sh')
-rwxr-xr-x | test/arguments/symrun.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/arguments/symrun.sh b/test/arguments/symrun.sh deleted file mode 100755 index 7bc4d21cf..000000000 --- a/test/arguments/symrun.sh +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | # This file is part of Firejail project | ||
3 | # Copyright (C) 2014-2021 Firejail Authors | ||
4 | # License GPL v2 | ||
5 | |||
6 | mkdir symtest | ||
7 | ln -s /usr/bin/firejail symtest/faudit | ||
8 | |||
9 | # search for faudit in current directory | ||
10 | export PATH=$PATH:. | ||
11 | export FIREJAIL_TEST_ARGUMENTS=yes | ||
12 | |||
13 | echo "TESTING: 2.1 - simple args" | ||
14 | symtest/faudit arg1 arg2 | ||
15 | |||
16 | # simple quotes, testing spaces in file names | ||
17 | echo "TESTING: 2.2 - args with space and \"" | ||
18 | symtest/faudit "arg1 tail" "arg2 tail" | ||
19 | |||
20 | echo "TESTING: 2.3 - args with space and '" | ||
21 | symtest/faudit 'arg1 tail' 'arg2 tail' | ||
22 | |||
23 | # escaped space in file names | ||
24 | echo "TESTING: 2.4 - args with space and \\" | ||
25 | symtest/faudit arg1\ tail arg2\ tail | ||
26 | |||
27 | # & char appears in URLs - URLs should be quoted | ||
28 | echo "TESTING: 2.5 - args with & and \"" | ||
29 | symtest/faudit "arg1&tail" "arg2&tail" | ||
30 | |||
31 | echo "TESTING: 2.6 - args with & and '" | ||
32 | symtest/faudit 'arg1&tail' 'arg2&tail' | ||
33 | |||
34 | rm -fr symtest | ||