[gcab] tests: gcab zip argument
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab] tests: gcab zip argument
- Date: Fri, 14 Dec 2012 14:36:10 +0000 (UTC)
commit 414878aaa17da61b22b84153710822727d210769
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Fri Dec 14 15:34:59 2012 +0100
tests: gcab zip argument
tests/testsuite.at | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/tests/testsuite.at b/tests/testsuite.at
index bbda884..3496b55 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -44,4 +44,12 @@ AT_CHECK([cabextract -ql out.cab | tail -n+3 | cut -d'|' -f3], [0],
cp test.txt expout
AT_CHECK([cabextract -q out.cab], [0])
AT_CHECK([cat test.txt], [0], [expout])
+#compressed
+AT_CHECK_GCAB([-z out.cab test.txt])
+AT_CHECK([cabextract -ql out.cab | tail -n+3 | cut -d'|' -f3], [0],
+[ test.txt
+])
+cp test.txt expout
+AT_CHECK([cabextract -q out.cab], [0])
+AT_CHECK([cat test.txt], [0], [expout])
AT_CLEANUP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]