Permalink
Browse files

Release v0.1

  • Loading branch information...
1 parent e05e980 commit 93c3e9b1d1472f0787e7d93dddb9f7b96ce83523 @kmdm committed Jan 9, 2013
Showing with 39 additions and 5 deletions.
  1. +3 −1 .gitignore
  2. +3 −3 README.md
  3. +1 −1 configure.ac
  4. +32 −0 tests/run.sh
View
@@ -1,6 +1,8 @@
.deps/
autom4te.cache/
m4/
+tests/*.zip
+tests/tmp*
Makefile
Makefile.in
aclocal.m4
@@ -15,6 +17,6 @@ libtool
ltmain.sh
missing
ruuveal
-ruuveal-ALPHA*tar.gz
+ruuveal*tar.gz
*.o
*.sw?
View
@@ -1,9 +1,9 @@
-ruuveal ALPHA
-=============
+ruuveal
+=======
ruuveal decrypts encrypted zip files contained in RUUs released by HTC.
-It is currently an ALPHA version, meaning it probably has bugs or will cause the end of the world as we know it. You have been warned.
+ruuveal has been (somewhat) tested but that doesn't mean it won't cause the end of the world as we know it. You have been warned.
You will need to extract the zip file from the RUU executable before you can use this tool - use Google, there are a few methods.
View
@@ -1,5 +1,5 @@
AC_CONFIG_MACRO_DIR([m4])
-AC_INIT([ruuveal],[ALPHA])
+AC_INIT([ruuveal],[0.1])
AM_INIT_AUTOMAKE([1.10 no-define foreign])
AC_PROG_LIBTOOL
AC_PROG_CC
View
@@ -0,0 +1,32 @@
+#!/bin/bash
+# A simple test script.
+RUUVEAL="../ruuveal"
+TMPDIR=tmp.$$
+UNZIP="unzip"
+
+cd $(dirname $0)
+
+[ -f ../ruuveal ] || exit 1
+mkdir -p tmp.$$ || exit 1
+
+trap "rm -rf $TMPDIR" EXIT
+
+for x in *.zip; do
+ d=$(echo $x | sed 's/\.zip//')
+ echo -n "Testing $d..."
+ rm -f $TMPDIR/*
+ if ! $RUUVEAL $d $x $TMPDIR/out.zip &>/dev/null; then
+ echo "failed (ruuveal)."
+ continue
+ fi
+
+ cd $TMPDIR
+
+ if ! $UNZIP out.zip &>/dev/null; then
+ echo "failed (unzip)."
+ else
+ echo "passed."
+ fi
+
+ cd - &>/dev/null
+done

0 comments on commit 93c3e9b

Please sign in to comment.