Skip to content

Commit

Permalink
tests: cleanup pretest script
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 24, 2020
1 parent a2ab93e commit 2acd327
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions systemtests/CMakeLists.txt
Expand Up @@ -723,9 +723,9 @@ set(BASEPORT 42001)
set(SYSTEMTEST_PREFIX "system:")

if(RUN_SYSTEMTESTS_ON_INSTALLED_FILES)
set(TEST_INFO_TEXT "\nrunning system tests on installed files\n")
set(TEST_INFO_TEXT "running system tests on installed files")
else()
set(TEST_INFO_TEXT "\nrunning system tests on the sourcetree\n")
set(TEST_INFO_TEXT "running system tests on the sourcetree")
endif()


Expand Down
5 changes: 3 additions & 2 deletions systemtests/ctest_custom_pretest.sh.in
@@ -1,4 +1,5 @@
#!/bin/sh
echo "@TEST_INFO_TEXT@"
echo "running @BAREOS_DIR_TO_TEST@ -? as pretest"
echo "PRETEST: running $0 script"
echo "PRETEST: @TEST_INFO_TEXT@"
echo "PRETEST: executing @BAREOS_DIR_TO_TEST@ -?"
@BAREOS_DIR_TO_TEST@ -? 2>&1 | grep Version >/dev/null

0 comments on commit 2acd327

Please sign in to comment.