blob: 4e1765cfa87e1527c1c6d428918ec19f7297c028 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Copyright Yahoo. 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
|