From b80a77bcb5cb8de179d7c27df0f8ef93936f6977 Mon Sep 17 00:00:00 2001 From: JP Ungaretti Date: Wed, 1 Mar 2023 08:24:39 +0000 Subject: Remove assert scripts --- test/dotnet/assert_build_project.sh | 9 --------- test/dotnet/assert_run_project.sh | 8 -------- test/dotnet/install_additional_dotnet.sh | 3 --- test/dotnet/install_dotnet_3.sh | 3 --- test/dotnet/install_dotnet_6_bullseye.sh | 3 --- test/dotnet/install_dotnet_6_focal.sh | 3 --- test/dotnet/install_dotnet_7_bullseye.sh | 3 --- test/dotnet/install_dotnet_7_jammy.sh | 3 --- test/dotnet/test.sh | 3 --- 9 files changed, 38 deletions(-) delete mode 100644 test/dotnet/assert_build_project.sh delete mode 100644 test/dotnet/assert_run_project.sh (limited to 'test/dotnet') diff --git a/test/dotnet/assert_build_project.sh b/test/dotnet/assert_build_project.sh deleted file mode 100644 index 11c575b..0000000 --- a/test/dotnet/assert_build_project.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -e - -source dev-container-features-test-lib - -pushd example_project -check "dotnet restore" dotnet restore -check "dotnet build" dotnet build diff --git a/test/dotnet/assert_run_project.sh b/test/dotnet/assert_run_project.sh deleted file mode 100644 index 40d7b72..0000000 --- a/test/dotnet/assert_run_project.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -set -e - -source dev-container-features-test-lib - -pushd example_project -check "dotnet run" bash -c "dotnet run | grep 'Inception'" diff --git a/test/dotnet/install_additional_dotnet.sh b/test/dotnet/install_additional_dotnet.sh index 4e7565e..6a0eb96 100644 --- a/test/dotnet/install_additional_dotnet.sh +++ b/test/dotnet/install_additional_dotnet.sh @@ -13,8 +13,5 @@ check "version 3.1.416 installed" bash -c 'dotnet --list-sdks | grep 3.1.416' # primary version plus 2 additional versions check "latest version installed" bash -c 'test "$(dotnet --list-sdks | wc -l)" -eq 3' -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/install_dotnet_3.sh b/test/dotnet/install_dotnet_3.sh index 109e118..077b8dc 100644 --- a/test/dotnet/install_dotnet_3.sh +++ b/test/dotnet/install_dotnet_3.sh @@ -9,8 +9,5 @@ source dev-container-features-test-lib check "some major version of dotnet 3 is installed" bash -c "dotnet --list-sdks | grep '3\.[0-9]*\.[0-9]*'" -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/install_dotnet_6_bullseye.sh b/test/dotnet/install_dotnet_6_bullseye.sh index 79954d0..7bef5cc 100644 --- a/test/dotnet/install_dotnet_6_bullseye.sh +++ b/test/dotnet/install_dotnet_6_bullseye.sh @@ -9,8 +9,5 @@ source dev-container-features-test-lib check "some major version of dotnet 6 is installed" bash -c "dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'" -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/install_dotnet_6_focal.sh b/test/dotnet/install_dotnet_6_focal.sh index 79954d0..7bef5cc 100644 --- a/test/dotnet/install_dotnet_6_focal.sh +++ b/test/dotnet/install_dotnet_6_focal.sh @@ -9,8 +9,5 @@ source dev-container-features-test-lib check "some major version of dotnet 6 is installed" bash -c "dotnet --list-sdks | grep '6\.[0-9]*\.[0-9]*'" -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/install_dotnet_7_bullseye.sh b/test/dotnet/install_dotnet_7_bullseye.sh index 12b1f85..3f5b785 100644 --- a/test/dotnet/install_dotnet_7_bullseye.sh +++ b/test/dotnet/install_dotnet_7_bullseye.sh @@ -9,8 +9,5 @@ source dev-container-features-test-lib check "some major version of dotnet 7 is installed" bash -c "dotnet --list-sdks | grep '7\.[0-9]*\.[0-9]*'" -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/install_dotnet_7_jammy.sh b/test/dotnet/install_dotnet_7_jammy.sh index 12b1f85..3f5b785 100644 --- a/test/dotnet/install_dotnet_7_jammy.sh +++ b/test/dotnet/install_dotnet_7_jammy.sh @@ -9,8 +9,5 @@ source dev-container-features-test-lib check "some major version of dotnet 7 is installed" bash -c "dotnet --list-sdks | grep '7\.[0-9]*\.[0-9]*'" -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh index eb2079e..ebbdca8 100755 --- a/test/dotnet/test.sh +++ b/test/dotnet/test.sh @@ -17,8 +17,5 @@ check "current link dotnet" /usr/local/dotnet/current/dotnet --info check "current link sdks" /usr/local/dotnet/current/dotnet --list-sdks check "current link version" /usr/local/dotnet/current/dotnet --version -./assert_build_project.sh -./assert_run_project.sh - # Report result reportResults -- cgit v1.2.3