aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-11-23 22:22:07 +1300
committerDavid Phillips <david@sighup.nz>2017-11-23 22:22:07 +1300
commitb7736f2cc756b77dec81b507be353deb1cdfc88a (patch)
tree919c721c011a9442e318a74d5efb96d58b8aab99 /test
parentf153ee8ac6546d738ac8975cfac6e9bca4752f8b (diff)
downloadsand-leek-b7736f2cc756b77dec81b507be353deb1cdfc88a.tar.xz
Fix failing tests
I am a bad man, I broke master
Diffstat (limited to 'test')
-rwxr-xr-xtest/002-test-key-name.test/run.sh2
-rw-r--r--test/003-test-invalid-char.test/stderr.expected3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/002-test-key-name.test/run.sh b/test/002-test-key-name.test/run.sh
index f9fd5c3..f3ac770 100755
--- a/test/002-test-key-name.test/run.sh
+++ b/test/002-test-key-name.test/run.sh
@@ -8,7 +8,7 @@ stderr="$(mktemp)"
# Four character search should be a < 1 second CPU burst for CI runner
${EXECUTABLE} -s site > $key 2>$stderr
-found="$(tr '\r' '\n' < $stderr | grep Found | cut -d ' ' -f 2)"
+found="$(tr '\r' '\n' < $stderr | grep Found | cut -d ' ' -f 3)"
echo "sand-leek says it found $found..."
diff --git a/test/003-test-invalid-char.test/stderr.expected b/test/003-test-invalid-char.test/stderr.expected
index f1652b2..7602703 100644
--- a/test/003-test-invalid-char.test/stderr.expected
+++ b/test/003-test-invalid-char.test/stderr.expected
@@ -1,2 +1,3 @@
-Error: search contains non-base-32 character(s): 1
+INFO: Starting sand-leek 0.5
+ERROR: search contains non-base-32 character(s): 1
I cannot search for something that will never occur