From a69bc796f3e1bfc90d8a0d9675804319faa44350 Mon Sep 17 00:00:00 2001 From: Radka Brychtova Date: Mon, 21 Oct 2024 13:55:19 +0200 Subject: [PATCH] remove old STI tests Related: RHEL-50092 --- tests/gating/all.sh | 21 --------------------- tests/gating/compress/test.sh | 10 ---------- tests/gating/decompress/test.sh | 15 --------------- tests/tests.yml | 15 --------------- 4 files changed, 61 deletions(-) delete mode 100755 tests/gating/all.sh delete mode 100755 tests/gating/compress/test.sh delete mode 100755 tests/gating/decompress/test.sh delete mode 100644 tests/tests.yml diff --git a/tests/gating/all.sh b/tests/gating/all.sh deleted file mode 100755 index f8621c3..0000000 --- a/tests/gating/all.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -passed=0 -subtests=(./compress ./decompress) -total=${#subtests[@]} - -for subtest in ${subtests[@]} -do - pushd $subtest >/dev/null - ./test.sh - result=$? - echo "Test $subtest result: $result" - if [ "$result" == "0" ] - then - ((passed++)) - fi - popd >/dev/null -done - -echo "Passed $passed/$total tests" -[[ $total == $passed ]] || exit 1 diff --git a/tests/gating/compress/test.sh b/tests/gating/compress/test.sh deleted file mode 100755 index 2145407..0000000 --- a/tests/gating/compress/test.sh +++ /dev/null @@ -1,10 +0,0 @@ -rm -rf ./in ./out -echo "Hello world" > ./in - -zstd ./in -o ./out || exit 1 - -ls ./out || exit 1 - -rm -rf ./in ./out - -exit 0 diff --git a/tests/gating/decompress/test.sh b/tests/gating/decompress/test.sh deleted file mode 100755 index 7191225..0000000 --- a/tests/gating/decompress/test.sh +++ /dev/null @@ -1,15 +0,0 @@ -rm -rf in out exp -echo "Hello World" > in -echo "Hello World" > exp - -zstd ./in -o ./out - -rm in - -zstd -d ./out -o ./in - -diff ./in ./exp || exit 1 - -rm -rf in out exp - -exit 0 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index da0d623..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- hosts: localhost - vars: - - artifacts: ./artifacts - remote_user: root - roles: - - role: standard-test-basic - tags: - - atomic - - classic - - container - tests: - - simple: - dir: gating - run: ./all.sh