Adding title, rdlink version and test date to the report

Report without color when piped
This commit is contained in:
2022-03-23 10:04:05 +01:00
parent 2787968487
commit 470a8daba6
2 changed files with 156 additions and 143 deletions

View File

@@ -53,9 +53,9 @@ tocompete_init() {
ln -s "../dir_3_l/file" "dir_1/file"
# compete_no_permission
mkdir -p "${_tc_tmp}/noperm"
chmod 400 "${_tc_tmp}/noperm"
ln -s "noperm" "${_tc_tmp}/noperml"
mkdir -p "${_tc_tmp}/nopermdir"
chmod 400 "${_tc_tmp}/nopermdir"
ln -s "nopermdir" "${_tc_tmp}/nopermdirl"
ln -s "/" "${_tc_tmp}/lroot"
ln -s "/root" "${_tc_tmp}/lroothome"
@@ -95,14 +95,14 @@ tocompete_init() {
)
compete_no_permission=( "No permission to enter directory (direct and link)"
"noperm"*
"nopermdir"*
"lroot"*
"/"
"/root"
"/root/"
"/root/."
"/root/.."
"/proc/"**/cwd # special - no permission for links
#"/proc/"**/cwd # special - no permission for links
)
# Add tests to global test array from test_rdlink
@@ -112,7 +112,7 @@ tocompete_init() {
compete_relative
compete_no_permission
compete_links
compete_all
#compete_all
)
}