tests: cram: test_base64: fix failing tests
[project/libubox.git] / tests / cram / test_base64.t
index ade41fb1eb2a6b76b1acb3848fef740f586fd325..8c52458469d23e239a8325eca602ff02845ca807 100644 (file)
@@ -48,10 +48,10 @@ check that b64_encode and b64_decode assert invalid input
   Aborted (core dumped)
   b64_encode: Assertion `dest && targsize > 0' failed.
 
   Aborted (core dumped)
   b64_encode: Assertion `dest && targsize > 0' failed.
 
-  $ test-b64_decode-san 2> output.log; check
+  $ test-b64_decode-san > output.log 2>&1; check
   Aborted (core dumped)
   b64_decode: Assertion `dest && targsize > 0' failed.
 
   Aborted (core dumped)
   b64_decode: Assertion `dest && targsize > 0' failed.
 
-  $ test-b64_encode-san 2> output.log; check
+  $ test-b64_encode-san > output.log 2>&1; check
   Aborted (core dumped)
   b64_encode: Assertion `dest && targsize > 0' failed.
   Aborted (core dumped)
   b64_encode: Assertion `dest && targsize > 0' failed.