summaryrefslogtreecommitdiff
path: root/test.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-01 12:11:36 +0100
committerJakob Unterwurzacher2015-11-01 12:11:36 +0100
commit902babdf22199d73171716e643f1ffbb65e6fb48 (patch)
treec3194bce9fd9b4db0a569fca3b5041abd278be70 /test.bash
parent14276c96328a1a1ad2b354c65d8db7fa720559e1 (diff)
Refactor ciphertext <-> plaintext offset translation functions
Move all the intelligence into the new file address_translation.go. That the calculations were spread out too much became apparent when adding the file header. This should make the code much easier to modify in the future.
Diffstat (limited to 'test.bash')
-rwxr-xr-xtest.bash11
1 files changed, 5 insertions, 6 deletions
diff --git a/test.bash b/test.bash
index fb849c4..976bb02 100755
--- a/test.bash
+++ b/test.bash
@@ -2,11 +2,10 @@
set -eux
-cd cryptfs
-go build
-go test
-cd ..
+for i in ./cryptfs .
+do
-go build
-go test
+ go build $i
+ go test $i
+done