[gcab] Add simple gcab tests



commit a50cbd2f1b57377542ff43e4c06132e91a1b3ab5
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Fri Dec 14 15:01:25 2012 +0100

    Add simple gcab tests

 tests/testsuite.at |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ae01304..2fdedc9 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -22,3 +22,14 @@ m4_include([package.m4])
 AT_INIT
 # Cannot use AT_TESTED because of $EXEEXT (Autotest bug)
 
+AT_BANNER([gcab])
+
+# AT_CHECK_... - add exeext automatically
+m4_define([AT_CHECK_GCAB], [
+AT_CHECK([_gcab ]$@)])
+
+AT_SETUP([Invalid command line])
+AT_CHECK_GCAB([], [1], [ignore], [ignore])
+AT_CHECK_GCAB([out.cab], [1], [ignore], [ignore])
+AT_CHECK([test -f out.cab], [1])
+AT_CLEANUP



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]