Gentoo Archives: gentoo-commits

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/libbash:master commit in: test/
Date: Fri, 27 May 2011 23:04:37
Message-Id: 101979fc6ddbe2ef2c49a7bf53d219338e91177a.betelgeuse@gentoo
1 commit: 101979fc6ddbe2ef2c49a7bf53d219338e91177a
2 Author: Mu Qiao <qiaomuf <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 09:01:33 2011 +0000
4 Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 14:56:52 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=101979fc
7
8 Test: improve test coverage for public API
9
10 ---
11 test/api_test.cpp | 5 +++++
12 1 files changed, 5 insertions(+), 0 deletions(-)
13
14 diff --git a/test/api_test.cpp b/test/api_test.cpp
15 index 7e1bd23..a724401 100644
16 --- a/test/api_test.cpp
17 +++ b/test/api_test.cpp
18 @@ -79,4 +79,9 @@ TEST(libbashapi, preload)
19 variables,
20 functions);
21 EXPECT_NE(0, result);
22 + result = libbash::interpret(get_src_dir() + std::string("/scripts/source_true.sh"),
23 + get_src_dir() + std::string("/scripts/illegal_script.sh"),
24 + variables,
25 + functions);
26 + EXPECT_NE(0, result);
27 }