diff options
Diffstat (limited to 'test/nbb-detect.at')
-rw-r--r-- | test/nbb-detect.at | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/nbb-detect.at b/test/nbb-detect.at index 4b537ba..0ca3176 100644 --- a/test/nbb-detect.at +++ b/test/nbb-detect.at @@ -9,7 +9,7 @@ AT_SETUP([nbb detect-vcs: no VCS repository type]) AT_KEYWORDS([nbb detect vcs]) AT_CHECK([mkdir test.foo && cd test.foo]) AT_CHECK([echo "Unknown VCS source tree type: '$PWD/test.foo'" > expout -cd test.foo && nbb detect-vcs], [1], [expout]) +cd test.foo && AT_NBB detect-vcs], [1], [expout]) AT_CHECK([rm -rf test.foo]) AT_CLEANUP() @@ -22,7 +22,7 @@ AT_CHECK([cd test.git && git init], [0], [Initialized empty Git repository in .git/ ]) AT_CHECK([echo "VCS: git $PWD/test.git" > expout -cd test.git && nbb detect-vcs], [0], [expout]) +cd test.git && AT_NBB detect-vcs], [0], [expout]) AT_CHECK([rm -rf test.git]) AT_CLEANUP() @@ -33,7 +33,7 @@ AT_KEYWORDS([nbb detect vcs bzr]) AT_CHECK([mkdir test.bzr && cd test.bzr]) AT_CHECK([cd test.bzr && bzr init]) AT_CHECK([echo "VCS: bzr $PWD/test.bzr" > expout -cd test.bzr && nbb detect-vcs], [0], [expout]) +cd test.bzr && AT_NBB detect-vcs], [0], [expout]) AT_CHECK([rm -rf test.bzr]) AT_CLEANUP() @@ -50,7 +50,7 @@ AT_CHECK([echo "Ambigous VCS types detected for '$PWD/test.bzrgit': VCS type Branch name git master bzr testnick" > expout -cd test.bzrgit && nbb detect-vcs], [1], [expout]) +cd test.bzrgit && AT_NBB detect-vcs], [1], [expout]) AT_CHECK([rm -rf test.bzrgit]) AT_CLEANUP() @@ -67,7 +67,7 @@ AC[_]INIT(nbb-test-git, 1.2.3, invalid@invalid.invalid) AC[_]OUTPUT ]) AT_CHECK([echo "BS: automake $PWD/test.git" > expout -cd test.git && nbb detect-bs], [0], [expout]) +cd test.git && AT_NBB detect-bs], [0], [expout]) AT_CHECK([rm -rf test.git]) AT_CLEANUP() @@ -83,7 +83,7 @@ AT_DATA([test.git/SConstruct], [dnl # Test ]) AT_CHECK([echo "BS: scons $PWD/test.git" > expout -cd test.git && nbb detect-bs], [0], [expout]) +cd test.git && AT_NBB detect-bs], [0], [expout]) AT_CHECK([rm -rf test.git]) AT_CLEANUP() @@ -105,7 +105,7 @@ AT_DATA([test.git/SConstruct], [dnl AT_CHECK([echo "Ambigous BS types detected for '$PWD/test.git': automake scons" > expout -cd test.git && nbb detect-bs], [1], [expout]) +cd test.git && AT_NBB detect-bs], [1], [expout]) AT_CHECK([rm -rf test.git]) AT_CLEANUP() @@ -118,7 +118,7 @@ AT_CHECK([cd test.git && git init], [0], [Initialized empty Git repository in .git/ ]) AT_CHECK([echo "Unknown BS source tree type: '$PWD/test.git'" > expout -cd test.git && nbb detect-bs], [1], [expout]) +cd test.git && AT_NBB detect-bs], [1], [expout]) AT_CHECK([rm -rf test.git]) AT_CLEANUP() |