X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fsource_config.test;h=c8d888e7bf6de65d8ed2aa16399cc2601a6951c3;hb=ae1e97b372502603183cb4c4b6cac43966b10e27;hp=7d062cf1beb89ee3ca550da3d95473d31e70e3aa;hpb=0f76f93bd286c46d281a574a6db67e038b6d42a7;p=config%2Fdotfiles.git diff --git a/tests/source_config.test b/tests/source_config.test index 7d062cf..c8d888e 100644 --- a/tests/source_config.test +++ b/tests/source_config.test @@ -2,7 +2,7 @@ # Load source_config(). -source ../shell/env +. ../shell/env # Make sure the old temporary directory is removed. @@ -22,14 +22,20 @@ echo echo loaded zsh/os/rc.Darwin > tmp/zsh/os/rc.Darwin function tests() { source_config tmp/zsh os rc Darwin nolocal + echo -n $source_file$source_file_local source_config tmp/zsh host rc zucker + echo -n $source_file$source_file_local source_config tmp/zsh os env Darwin nolocal + echo -n $source_file$source_file_local source_config tmp/zsh host env zucker + echo -n $source_file$source_file_local source_config tmp/bash host rc zucker + echo -n $source_file$source_file_local source_config tmp/shell "" env zucker + echo -n $source_file$source_file_local } # Run tests without and with debug output.