resolution tests cd_bindir, cd_home, et b_env sauf une vraie erreur
This commit is contained in:
@@ -285,8 +285,8 @@ cd $(dirname $0)
|
||||
# for env, special treatment
|
||||
if [ "${in_file: -6}" == "env.sh" ]
|
||||
then
|
||||
bash_execution="$( echo "$bash_execution" | sort | grep -v -e "LINES=" -e "COLUMNS=" -e "_=" -e"LESSCLOSE=" -e "LESSOPEN=" )"
|
||||
minishell_execution="$( echo "$minishell_execution" | sort | grep -v -e "LINES=" -e "COLUMNS=" -e "_=" -e"LESSCLOSE=" -e "LESSOPEN=" )"
|
||||
bash_execution="$( echo "$bash_execution" | sort | grep -v -e "LINES=" -e "COLUMNS=" -e "_=" -e"LESSCLOSE=" -e "LESSOPEN=" -e "SHLVL=" )"
|
||||
minishell_execution="$( echo "$minishell_execution" | sort | grep -v -e "LINES=" -e "COLUMNS=" -e "_=" -e"LESSCLOSE=" -e "LESSOPEN=" -e "SHLVL=" )"
|
||||
fi
|
||||
|
||||
compare_output "$bash_execution" "$minishell_execution" "$commands"
|
||||
|
||||
Reference in New Issue
Block a user