From df469786ca650e19a6aaf29ea049d499a80ebd9a Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 10 Jan 2023 14:32:12 -0700 Subject: [PATCH] Add version to smoke test --- tests/smoke-test/run-smoke-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/smoke-test/run-smoke-test.sh b/tests/smoke-test/run-smoke-test.sh index ffdf8a06..4ee2fddc 100755 --- a/tests/smoke-test/run-smoke-test.sh +++ b/tests/smoke-test/run-smoke-test.sh @@ -1,9 +1,13 @@ # Basic simple test of stack-orchestrator functionality echo "Running stack-orchestrator smoke test" -TEST_TARGET_SO=package/laconic-so +# Bit of a hack, test the most recent package +TEST_TARGET_SO=$( ls -t1 ./package/laconic-so* | head -1 ) # Set a non-default repo dir export CERC_REPO_BASE_DIR=~/stack-orchestrator-test/repo-base-dir echo "Testing this package: $TEST_TARGET_SO" +echo "Test version command" +reported_version_string=$( $TEST_TARGET_SO version ) +echo "Version reported is: ${reported_version_string}" echo "Cloning repositories into: $CERC_REPO_BASE_DIR" rm -rf $CERC_REPO_BASE_DIR mkdir -p $CERC_REPO_BASE_DIR