#!/usr/bin/env bash # # Copyright (c) 2011 David Bremner # test_description='exception symbol test This test tests whether hiding Xapian::Error symbols in libnotmuch also hides them for other users of libxapian. This is motivated by the discussion in http://gcc.gnu.org/wiki/Visibility' . ./test-lib.sh output="Error opening database at /nonexistant/.notmuch: No such file or directory caught No chert database found at path \`/nonexistant'" g++ -o symbol-test ../symbol-test.cc -L../lib -lnotmuch -lxapian test_expect_success "$message" ./symbol-test test_done