This is an automated email from the ASF dual-hosted git repository.

bnolsen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new eaae6ca812 autests change perl shasum to cksum (#11118)
eaae6ca812 is described below

commit eaae6ca8126502ce270b8a247204c3b3387cf72b
Author: Brian Olsen <[email protected]>
AuthorDate: Sat Mar 2 11:24:24 2024 -0700

    autests change perl shasum to cksum (#11118)
    
    * autests change perl shasum to sha1sum
    
    * change from sha1sum over to more basic cksum
---
 tests/gold_tests/h2/gold/httpbin_2_stdout.gold  | 2 +-
 tests/gold_tests/h2/gold/priority_0_stdout.gold | 2 +-
 tests/gold_tests/h2/http2_priority.test.py      | 4 ++--
 tests/gold_tests/h2/httpbin.test.py             | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/gold_tests/h2/gold/httpbin_2_stdout.gold 
b/tests/gold_tests/h2/gold/httpbin_2_stdout.gold
index d24de92221..ba660d0692 100644
--- a/tests/gold_tests/h2/gold/httpbin_2_stdout.gold
+++ b/tests/gold_tests/h2/gold/httpbin_2_stdout.gold
@@ -1 +1 @@
-7a884625d64511d986423b361d75a5d037d7fa62b9ecf0959b93adda1afe07ef  -
+3197674613 102400
diff --git a/tests/gold_tests/h2/gold/priority_0_stdout.gold 
b/tests/gold_tests/h2/gold/priority_0_stdout.gold
index 6b6476af34..ebfe364067 100644
--- a/tests/gold_tests/h2/gold/priority_0_stdout.gold
+++ b/tests/gold_tests/h2/gold/priority_0_stdout.gold
@@ -1 +1 @@
-3d5e50d1d61fb452feb3d0eaada226e52c6dc11af1b3745e0e850146f384b777  -
+3332548275 1048576
diff --git a/tests/gold_tests/h2/http2_priority.test.py 
b/tests/gold_tests/h2/http2_priority.test.py
index 28df03d5e4..86e52803f7 100644
--- a/tests/gold_tests/h2/http2_priority.test.py
+++ b/tests/gold_tests/h2/http2_priority.test.py
@@ -22,7 +22,7 @@ Test a basic remap of a http connection with Stream Priority 
Feature
 
 Test.SkipUnless(
     Condition.HasCurlFeature('http2'),
-    Condition.HasProgram("shasum", "shasum need to be installed on system for 
this test to work"),
+    Condition.HasProgram("cksum", "cksum need to be installed on system for 
this test to work"),
 )
 Test.ContinueOnFail = True
 
@@ -69,7 +69,7 @@ ts.Disk.records_config.update(
 
 # Test Case 0:
 tr = Test.AddTestRun()
-tr.Processes.Default.Command = 'curl -vs -k --http2 
https://127.0.0.1:{0}/bigfile | shasum -a 256'.format(ts.Variables.ssl_port)
+tr.Processes.Default.Command = 'curl -vs -k --http2 
https://127.0.0.1:{0}/bigfile | cksum'.format(ts.Variables.ssl_port)
 tr.Processes.Default.ReturnCode = 0
 tr.Processes.Default.TimeOut = 5
 tr.Processes.Default.StartBefore(server, 
ready=When.PortOpen(server.Variables.Port))
diff --git a/tests/gold_tests/h2/httpbin.test.py 
b/tests/gold_tests/h2/httpbin.test.py
index a2447758d0..1e48e0da9b 100644
--- a/tests/gold_tests/h2/httpbin.test.py
+++ b/tests/gold_tests/h2/httpbin.test.py
@@ -28,7 +28,7 @@ Test HTTP/2 with httpbin origin server
 # Require HTTP/2 enabled Curl
 Test.SkipUnless(
     Condition.HasCurlFeature('http2'),
-    Condition.HasProgram("shasum", "shasum need to be installed on system for 
this test to work"),
+    Condition.HasProgram("cksum", "cksum need to be installed on system for 
this test to work"),
 )
 # Test.ContinueOnFail = True
 
@@ -103,7 +103,7 @@ test_run.StillRunningAfter = httpbin
 
 # Test Case 2: Chunked
 test_run = Test.AddTestRun()
-test_run.Processes.Default.Command = 'curl -vs -k --http2 
https://127.0.0.1:{0}/stream-bytes/102400?seed=0 | shasum -a 256'.format(
+test_run.Processes.Default.Command = 'curl -vs -k --http2 
https://127.0.0.1:{0}/stream-bytes/102400?seed=0 | cksum'.format(
     ts.Variables.ssl_port)
 test_run.Processes.Default.ReturnCode = 0
 test_run.Processes.Default.Streams.stdout = "gold/httpbin_2_stdout.gold"

Reply via email to