resolu erreur suppression fichiers entre bash et minishell
This commit is contained in:
@@ -144,7 +144,9 @@ cd $(dirname $0)
|
||||
{
|
||||
# execute commands in bash, and logs results
|
||||
bash_execution=$( echo "$@" | bash 2>/dev/null )
|
||||
delete_files
|
||||
minishell_execution=$( echo "$@" | ./minishell 2>/dev/null )
|
||||
delete_files
|
||||
|
||||
#compare output
|
||||
if [ "$bash_execution" = "$minishell_execution" ]
|
||||
|
||||
Reference in New Issue
Block a user