Update tests using base64 utility to also work on macos (#2536)

* Update tests using base64 utility to also work on macos

* Fix invocation of base64 in refc/buffer test.
This commit is contained in:
Steve Dunham 2022-07-13 06:46:31 -07:00 committed by GitHub
parent da3239bdf5
commit a0d9e2bbba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
rm -rf build
$1 --no-color --console-width 0 --no-banner CopyFile.idr < input
base64 dest.bin
base64 -i dest.bin
rm dest.bin

View File

@ -2,7 +2,7 @@ rm -rf build
$1 --no-banner --no-color --console-width 0 -p contrib CopyDir.idr < input
ls -R resultDir | sed '/^resultDir:$/d'
base64 resultDir/source.bin
base64 -i resultDir/source.bin
cat resultDir/nestedDir/anotherFile.txt
rm -rf resultDir

View File

@ -2,6 +2,6 @@ rm -rf build
$1 --no-banner --no-color --console-width 0 --cg refc -o refc_buffer TestBuffer.idr > /dev/null
./build/exec/refc_buffer
base64 testWrite.buf
base64 -i testWrite.buf
rm testWrite.buf