mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33:45 +03:00
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:
parent
da3239bdf5
commit
a0d9e2bbba
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user