summaryrefslogtreecommitdiff
path: root/mail/notmuch/files/patch-test_test-lib-common.sh
blob: 8da1d3e8cc575145ae7a7271cd922dcc8371c8d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- test/test-lib-common.sh.orig	2016-12-24 18:44:17 UTC
+++ test/test-lib-common.sh
@@ -24,6 +24,16 @@
 #
 type die >/dev/null 2>&1 || die () { echo "$@" >&2; exit 1; }
 
+# allow using aliases in scripts
+shopt -s expand_aliases
+
+alias date=gdate
+alias base64=gbase64
+alias gdb=$BSD_GDB
+alias wc=gwc
+alias sed=gsed
+alias sha256sum=gsha256sum
+
 find_notmuch_path ()
 {
     dir="$1"