From 99b1287d587936dd94b71aa9e65333daa68cc443 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 21 Feb 2009 20:52:59 +0100 Subject: [PATCH] Test if variables are leaked in source_config(). --- tests/source_config.test | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/source_config.test b/tests/source_config.test index b623150..c8d888e 100644 --- a/tests/source_config.test +++ b/tests/source_config.test @@ -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. -- 2.44.2