aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Quigley <code@bryanquigley.com>2020-12-17 10:37:01 -0800
committerJake Hunsaker <jhunsake@redhat.com>2021-02-09 13:25:16 -0500
commitdc6cf40c4f637110162c305311f616f0fe60b89f (patch)
treee941b24716d58ced7c5b4749b98968fb62db4d66 /tests
parent93842c416f1ea6837e02a81965a3233ff8508948 (diff)
downloadsos-dc6cf40c4f637110162c305311f616f0fe60b89f.tar.gz
[policy] switch to sha256 sum
Move cleaner to ignore both sha256/md5s Move collector to use sha256 as well. Move to get hash from stdout Resolves: #2351 Closes: #1204 Signed-off-by: Bryan Quigley <code@bryanquigley.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/simple.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple.sh b/tests/simple.sh
index f1d530dc..e323cffc 100755
--- a/tests/simple.sh
+++ b/tests/simple.sh
@@ -56,7 +56,7 @@ run_expecting_success () {
if [ "extract" = "$2" ]; then
echo "### start extraction"
- rm -f /var/tmp/sosreport*md5
+ rm -f /var/tmp/sosreport*sha256
mkdir /var/tmp/sosreport_test/
tar xfa /var/tmp/sosreport*.tar* -C /var/tmp/sosreport_test --strip-components=1
if [ -s /var/tmp/sosreport_test/sos_logs/*errors.txt ]; then