Use released rdlink for testing and build it if missing
This commit is contained in:
@@ -30,7 +30,7 @@ compete_relative=( "Resolving of relative links"
|
||||
# Valid
|
||||
"dir_1/file" # Valid relative link to path with relative element
|
||||
)
|
||||
|
||||
|
||||
compete_all=( "Test - everything starting from /"
|
||||
/**/*
|
||||
)
|
||||
@@ -51,7 +51,7 @@ tocompete_init() {
|
||||
touch "dir_2/dir_22/file"
|
||||
ln -s "dir_2/dir_22" "dir_3_l"
|
||||
ln -s "../dir_3_l/file" "dir_1/file"
|
||||
|
||||
|
||||
# compete_no_permission
|
||||
mkdir -p "${_tc_tmp}/noperm"
|
||||
chmod 400 "${_tc_tmp}/noperm"
|
||||
@@ -62,11 +62,11 @@ tocompete_init() {
|
||||
# compete_relative
|
||||
ln -s "../nofile" "${_tc_tmp}/nofile_l"
|
||||
ln -s "../nodir/nofile" "${_tc_tmp}/nopath_l"
|
||||
|
||||
|
||||
#echo "rl: " && readlink "${_tc_tmp}/lnoperm"
|
||||
#ls -l "${_tc_tmp}"
|
||||
}
|
||||
|
||||
|
||||
# Base directory for the test
|
||||
cd "${_tc_tmp}"
|
||||
|
||||
|
Reference in New Issue
Block a user