File: test_notmuch_standalone.sh

package info (click to toggle)
astroidmail 0.16%2B20240629-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,136 kB
  • sloc: cpp: 21,133; ansic: 1,619; python: 93; sh: 73; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/env bash
#
# wrapper for test nm standalone since we expect failure

function die() {
  echo "error: $1"
  exit 1
}

function warn() {
  echo "warn: $1"
}

d=$(dirname $0)

# apparently, sometimes it does not fail.

echo "testing: test_notmuch_standalone: expecting failure.."
$d/test_notmuch_standalone && warn "expected test_nm_standalone to fail!"

exit 0