• echo << HEREDOC hola

    → should print hola after executing heredoc

  • << HERE << DOC

    → should open two consecutive instances of heredoc

  • env variables should be read from a variable or struct (shouldn’t use getenv() after shell initialisation)

  • export variable and exec ./minishell inside minishell, variable should exist in env

  • $HOME/../../bin/ls

  • > ret ls < doesntexist should create ret, < doesntexist ls > ret shouldn’t. Neither should execute ls

  • env -i ./minishell should create basic env and not leak if non-existing command

  • CTRL+C into heredoc

  • export "test=ici"=coucou, echo $test