1#! /usr/bin/env bash
2#
3# wrapper for test nm standalone since we expect failure
4
5function die() {
6  echo "error: $1"
7  exit 1
8}
9
10function warn() {
11  echo "warn: $1"
12}
13
14d=$(dirname $0)
15
16# apparently, sometimes it does not fail.
17
18echo "testing: test_notmuch_standalone: expecting failure.."
19$d/test_notmuch_standalone && warn "expected test_nm_standalone to fail!"
20
21exit 0
22
23