blob: 94dccdc264500b671ff9dee117b0ee464556fb1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
if ../../apps/sentinel/vespa-config-sentinel > tmp.log 2>&1 ; then
echo "Should need argument"
exit 1
fi
if grep -q Usage tmp.log ; then
: ok
else
echo "Missing usage in log:"
cat tmp.log
exit 1
fi
exit 0
|