From e1a858eb485aa8e5826348ffb75de05061c1e7ff Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 24 Apr 2014 08:34:27 +0200 Subject: add script that tests all 2K option combinations (including redundant) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-all-options.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 test-all-options.sh 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 + -- cgit v1.2.3-70-g09d2