summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-21 12:40:37 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2008-06-21 12:40:37 +0200
commit3377db858c169a54fd398ec36e5a048168f7c72c (patch)
treea1dbc81d057462f6169f211f6ae6ebfa93679ed7
parent3b219ad81deb2063d15b7ed12eb62f2b6a9bc521 (diff)
downloadndim-git-utils-3377db858c169a54fd398ec36e5a048168f7c72c.tar.gz
ndim-git-utils-3377db858c169a54fd398ec36e5a048168f7c72c.tar.xz
ndim-git-utils-3377db858c169a54fd398ec36e5a048168f7c72c.zip
Use expout for 'nbb config' tests
-rw-r--r--test/nbb.at9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/nbb.at b/test/nbb.at
index 1704fd4..e623eef 100644
--- a/test/nbb.at
+++ b/test/nbb.at
@@ -30,9 +30,12 @@ AT_CHECK([mkdir test.git && cd test.git])
AT_CHECK([cd test.git && git init], [0],
[Initialized empty Git repository in .git/
])
-AT_CHECK([cd test.git && nbb config srcdir])
-AT_CHECK([cd test.git && nbb config builddir])
-AT_CHECK([cd test.git && nbb config installdir])
+echo "$PWD/test.git" > expout
+AT_CHECK([cd test.git && nbb config srcdir], [0], [expout])
+echo "$PWD/test.git/_build/_master" > expout
+AT_CHECK([cd test.git && nbb config builddir], [0], [expout])
+echo "$PWD/test.git/_install/master" > expout
+AT_CHECK([cd test.git && nbb config installdir], [0], [expout])
AT_CHECK([rm -rf test.git])
AT_CLEANUP()