aboutsummaryrefslogtreecommitdiffstats
path: root/test-all-options.sh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-24 08:34:27 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-24 08:34:27 +0200
commite1a858eb485aa8e5826348ffb75de05061c1e7ff (patch)
tree1cf8e7007fe7e1cd62efe6ca98a38a424d10b35e /test-all-options.sh
parentenable more warnings (diff)
downloadlibpassphrase-e1a858eb485aa8e5826348ffb75de05061c1e7ff.tar.gz
libpassphrase-e1a858eb485aa8e5826348ffb75de05061c1e7ff.tar.bz2
libpassphrase-e1a858eb485aa8e5826348ffb75de05061c1e7ff.tar.xz
add script that tests all 2K option combinations (including redundant)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-all-options.sh')
-rwxr-xr-xtest-all-options.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/test-all-options.sh b/test-all-options.sh
new file mode 100755
index 0000000..8e89d15
--- /dev/null
+++ b/test-all-options.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+for a in PASSPHRASE_ECHO ""; do
+ for b in PASSPHRASE_STAR ""; do
+ for c in PASSPHRASE_REALLOC ""; do
+ for d in PASSPHRASE_MOVE ""; do
+ for e in PASSPHRASE_INSERT ""; do
+ for f in PASSPHRASE_OVERRIDE ""; do
+ for g in PASSPHRASE_DELETE ""; do
+ for h in PASSPHRASE_CONTROL ""; do
+ for i in PASSPHRASE_DEDICATED ""; do
+ for j in DEFAULT_INSERT ""; do
+ for k in PASSPHRASE_INVALID ""; do
+ make libpassphrase -B OPTIONS="$a $b $c $d $e $f $g $h $i $j $k" || exit 1
+ done
+ done
+ done
+ done
+ done
+ done
+ done
+ done
+ done
+ done
+done
+