projects
/
crypto_lab2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the original task.
[crypto_lab2.git]
/
labo2-fsharp
/
run_tests.sh
diff --git
a/labo2-fsharp/run_tests.sh
b/labo2-fsharp/run_tests.sh
index
3f42fa2
..
5c000fa
100755
(executable)
--- a/
labo2-fsharp/run_tests.sh
+++ b/
labo2-fsharp/run_tests.sh
@@
-1,17
+1,21
@@
#/usr/bin/env bash
#/usr/bin/env bash
-xbuild /p:Configuration=Release labo2-fsharp.sln
+xbuild /p:Configuration=Debug labo2-fsharp.sln
+
+export MONO_TRACE_LISTENER=Console.Error
+
+CryptoFileTests/bin/Debug/CryptoFileTests.exe tests
echo "Plaintext:"
cat plaintext.txt
echo
# Encrypt the file 'plaintext.txt'.
echo "Plaintext:"
cat plaintext.txt
echo
# Encrypt the file 'plaintext.txt'.
-CryptoFileTests/bin/
Release
/CryptoFileTests.exe encrypt plaintext.txt ciphertext
+CryptoFileTests/bin/
Debug
/CryptoFileTests.exe encrypt plaintext.txt ciphertext
# Decrypt the file 'ciphertext' to the directory 'output'.
rm -r output
mkdir output
# Decrypt the file 'ciphertext' to the directory 'output'.
rm -r output
mkdir output
-CryptoFileTests/bin/
Release
/CryptoFileTests.exe decrypt ciphertext output
+CryptoFileTests/bin/
Debug
/CryptoFileTests.exe decrypt ciphertext output
echo "Decrypted ciphertext:"
cat output/plaintext.txt
echo "Decrypted ciphertext:"
cat output/plaintext.txt