[PATCH 07/11] test-subj-parsing: unbreak the test

Artem Bityutskiy dedekind1 at gmail.com
Fri Feb 7 07:28:20 PST 2014


From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

I broke it when moved stuff to the "helpers" sub-directory, let's fix it.

While on it, remove a stale commentary in the test.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
 tests/test-subj-parsing | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/tests/test-subj-parsing b/tests/test-subj-parsing
index 19cd5b4..f7d00a3 100755
--- a/tests/test-subj-parsing
+++ b/tests/test-subj-parsing
@@ -4,14 +4,11 @@
 # Author: Artem Bityutskiy
 # License: GPLv2
 
-# This is a helper script to test email subject parsing in mscripts. Copy
-# it to the mscripts directory and run.
-
-srcdir="$(readlink -ev -- ${0%/*})"
-PATH="$srcdir/..:$srcdir/../helpers/libshell:$PATH"
+srcdir="$(readlink -ev -- ${0%/*}/..)"
+PATH="$srcdir/email:$srcdir/helpers/libshell:$PATH"
 
 . shell-error
-. email/aiaiai-email-sh-functions
+. aiaiai-email-sh-functions
 
 PROG="${0##*/}"
 
-- 
1.8.5.2




More information about the aiaiai mailing list