From cc60f3b86bc4a29d68852e02021fc719b22b5b2f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 5 Jul 2009 13:52:37 +0200 Subject: Improved test order, added checklinks test messages --- test/checklinks | 2 ++ test/main | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/checklinks b/test/checklinks index 00b3da3..ce5c133 100644 --- a/test/checklinks +++ b/test/checklinks @@ -14,11 +14,13 @@ echo barbl > bar echo flurbl > file echo morp > flurbl +echo "# checklinks" checklinks [[ $(cat foo) == $(cat bar) ]] [[ $(cat link) == $(cat file) ]] [[ $(cat blub) == $(cat flurbl) ]] +echo "# checklinks --remove" checklinks --remove [[ -e bar ]] [[ ! -e link ]] diff --git a/test/main b/test/main index 75b3cd8..93bc7dd 100755 --- a/test/main +++ b/test/main @@ -25,12 +25,12 @@ test directories: HOME = $test_home meow -source $tests/setup - -echo "# bootstrapping PKG_DIR" cd $test_home export HOME=$test_home source $tests/checklinks +(source $tests/setup) + +echo "# bootstrapping PKG_DIR" $test_proot/core/include/bootstrap $test_proot $test_pdir echo "# checking for success" -- cgit v1.2.3