diff options
Diffstat (limited to 'test/api_test.cpp')
-rw-r--r-- | test/api_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/api_test.cpp b/test/api_test.cpp index 7e1bd23..a724401 100644 --- a/test/api_test.cpp +++ b/test/api_test.cpp @@ -79,4 +79,9 @@ TEST(libbashapi, preload) variables, functions); EXPECT_NE(0, result); + result = libbash::interpret(get_src_dir() + std::string("/scripts/source_true.sh"), + get_src_dir() + std::string("/scripts/illegal_script.sh"), + variables, + functions); + EXPECT_NE(0, result); } |