X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fsource_config.test;h=7237d11f2a74c626432415307bb221cf48be649d;hb=3e0077f06bf1930070a98562a0594e739760179d;hp=c8d888e7bf6de65d8ed2aa16399cc2601a6951c3;hpb=99b1287d587936dd94b71aa9e65333daa68cc443;p=config%2Fdotfiles.git diff --git a/tests/source_config.test b/tests/source_config.test index c8d888e..7237d11 100644 --- a/tests/source_config.test +++ b/tests/source_config.test @@ -14,6 +14,7 @@ mkdir tmp/shell mkdir tmp/zsh tmp/zsh/host tmp/zsh/os echo echo loaded bash/env.zucker > tmp/shell/env.zucker echo echo loaded shell/env.zucker > tmp/shell/env.zucker +echo echo loaded shell/logout > tmp/shell/logout echo echo loaded zsh.env.local > tmp/zsh/env.local echo echo loaded zsh/rc.local > tmp/zsh/rc.local echo echo loaded zsh/host/rc.zucker > tmp/zsh/host/rc.zucker @@ -36,9 +37,16 @@ function tests() { source_config tmp/shell "" env zucker echo -n $source_file$source_file_local + + source_config tmp/shell "" logout + echo -n $source_file$source_file_local + source_config tmp/shell "" doesnt-exist + echo -n $source_file$source_file_local } # Run tests without and with debug output. tests echo DEBUG=1 tests + +# vim: ft=sh