From c2a5303eebc84d616072163f74eef8483c9f5386 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Mon, 6 Jun 2016 23:57:42 +0200 Subject: tests: split example_filesystems into its own package Running these tests from integration_tests' TestMain() was awkward because they were run twice with unchanged settings. integration_tests tests everything with OpenSSL and with native Go crypto, but this does not take affect for the example filesystems. To make this work, test_helpers is also split into its own package. --- benchmark-synthetic.bash | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 benchmark-synthetic.bash (limited to 'benchmark-synthetic.bash') diff --git a/benchmark-synthetic.bash b/benchmark-synthetic.bash new file mode 100755 index 0000000..8c5c9ce --- /dev/null +++ b/benchmark-synthetic.bash @@ -0,0 +1,10 @@ +#!/bin/bash + +# Run the synthetic benchmarks that are built into gocryptfs using +# "go test". + +set -eu + +source build.bash + +go test ./tests/integration_tests -bench=. -defaultonly -- cgit v1.2.3