From 279a82494f36e0cc60c7e9d00d3611fc428da0e3 Mon Sep 17 00:00:00 2001 From: Daniel Aarno Date: Thu, 17 May 2012 22:12:53 +0200 Subject: [PATCH] Added test for Zshcompletionoutput - fails --- tests/runtests.sh | 2 +- tests/test85.out | 2 ++ tests/test85.sh | 13 +++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/test85.out create mode 100644 tests/test85.sh diff --git a/tests/runtests.sh b/tests/runtests.sh index 9c2e8b9..c8ad90a 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -6,7 +6,7 @@ cd $DIR let "suc = 0" let "fail = 0" -NUMTEST=84 +NUMTEST=85 for (( tno = 1 ; $tno <= $NUMTEST ; tno = $tno + 1 )); do ./testCheck.sh $tno diff --git a/tests/test85.out b/tests/test85.out new file mode 100644 index 0000000..89fe101 --- /dev/null +++ b/tests/test85.out @@ -0,0 +1,2 @@ +This feature appears broken! + diff --git a/tests/test85.sh b/tests/test85.sh new file mode 100644 index 0000000..964bb75 --- /dev/null +++ b/tests/test85.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# zshcompletionoutput. The when this test fails due to e.g. formatting +# changes the results needs to be manually reviewed and the test81.out +# updated +../examples/test25 -h > tmp.out 2>&1 + +if cmp -s tmp.out $srcdir/test82.out; then + exit 0 +else + exit 1 +fi +