#!/usr/bin/env bash # Note: This is not directly executable. # This is for VIM syntax highlighting. describe "* abrute decrypts zip files" it "A) decrypts file" folder="$(pwd)" cd test/data/ ../../target/debug/abrute 4 1234 -z -a 0 -- example.zip >/dev/null assert equal $? 0 cd $folder assert file_present test/data/zipped.file end it "B) clean up" rm test/data/zipped.file assert file_absent test/data/zipped.file end end