[gcab] tests: remove cabextract usage
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab] tests: remove cabextract usage
- Date: Sun, 20 Jan 2013 00:16:16 +0000 (UTC)
commit 65013f71de1f03025c11250a14704866eb08bffa
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Sun Jan 20 01:14:44 2013 +0100
tests: remove cabextract usage
tests/testsuite.at | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 0d52d62..0387dc1 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -38,19 +38,19 @@ AT_SETUP([Add one file])
AT_DATA([test.txt], [This is test.txt
])
AT_CHECK_GCAB([-c out.cab test.txt])
-AT_CHECK([cabextract -ql out.cab | tail -n+3 | cut -d'|' -f3], [0],
-[ test.txt
+AT_CHECK_GCAB([-t out.cab], [0],
+[test.txt
])
cp test.txt expout
-AT_CHECK([cabextract -q out.cab], [0])
+AT_CHECK_GCAB([-x out.cab], [0])
AT_CHECK([cat test.txt], [0], [expout])
#compressed
AT_CHECK_GCAB([-cz out.cab test.txt])
-AT_CHECK([cabextract -ql out.cab | tail -n+3 | cut -d'|' -f3], [0],
-[ test.txt
+AT_CHECK_GCAB([-t out.cab], [0],
+[test.txt
])
cp test.txt expout
-AT_CHECK([cabextract -q out.cab], [0])
+AT_CHECK([gcab -x 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]