]> git.pld-linux.org Git - packages/tla.git/blame - 0003-fix-bashisms.patch
- fixes from Debian
[packages/tla.git] / 0003-fix-bashisms.patch
CommitLineData
c296792b
MK
1From: Barry deFreese <bddebian@comcast.net>
2Date: Fri, 7 Mar 2008 10:40:50 -0500
3Subject: fix bashisms
4
5use printf instead of echo -e.
6---
7 src/tla/tests/test-import.sh | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10diff --git a/src/tla/tests/test-import.sh b/src/tla/tests/test-import.sh
11index 8682fb1..0847c00 100644
12--- a/src/tla/tests/test-import.sh
13+++ b/src/tla/tests/test-import.sh
14@@ -24,7 +24,7 @@ tla init-tree --nested jane@example.com--2003/hello-world--mainline--1.0
15 tla id-tagging-method explicit
16 tla add-id hello-world.c README
17 tla import -L 'initial import'
18-test "$(tla categories -A jane@example.com--2003)" = "$(echo -e cat\\ncow\\nhello-world)"
19+test "$(tla categories -A jane@example.com--2003)" = "$(printf cat\\ncow\\nhello-world\\n)"
20 test "$(tla branches jane@example.com--2003/hello-world)" = "hello-world--mainline"
21 test "$(tla versions jane@example.com--2003/hello-world--mainline)" = "hello-world--mainline--1.0"
22 test -d $(tla whereis-archive jane@example.com--2003)/hello-world/hello-world--mainline/hello-world--mainline--1.0/base-0
This page took 0.081993 seconds and 4 git commands to generate.