mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-22 14:15:46 -06:00
22 lines
682 B
Bash
Executable file
22 lines
682 B
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "TESTING: 1.1 - simple args"
|
|
firejail --quiet ./argtest arg1 arg2
|
|
|
|
# simple quotes, testing spaces in file names
|
|
echo "TESTING: 1.2 - args with space and \""
|
|
firejail --quiet ./argtest "arg1 tail" "arg2 tail"
|
|
|
|
echo "TESTING: 1.3 - args with space and '"
|
|
firejail --quiet ./argtest 'arg1 tail' 'arg2 tail'
|
|
|
|
# escaped space in file names
|
|
echo "TESTING: 1.4 - args with space and \\"
|
|
firejail --quiet ./argtest arg1\ tail arg2\ tail
|
|
|
|
# & char appears in URLs - URLs should be quoted
|
|
echo "TESTING: 1.5 - args with & and \""
|
|
firejail --quiet ./argtest "arg1&tail" "arg2&tail"
|
|
|
|
echo "TESTING: 1.6 - args with & and '"
|
|
firejail --quiet ./argtest 'arg1&tail' 'arg2&tail'
|