[Pkg-loop-aes-commits] r1328 - in /trunk/loop-aes/debian: changelog loop-aes-runtests

xam at users.alioth.debian.org xam at users.alioth.debian.org
Fri Nov 24 20:46:37 CET 2006


Author: xam
Date: Fri Nov 24 20:46:36 2006
New Revision: 1328

URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1328
Log:
* Provide usage information for loop-aes-runtests

Modified:
    trunk/loop-aes/debian/changelog
    trunk/loop-aes/debian/loop-aes-runtests

Modified: trunk/loop-aes/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes/debian/changelog?rev=1328&op=diff
==============================================================================
--- trunk/loop-aes/debian/changelog (original)
+++ trunk/loop-aes/debian/changelog Fri Nov 24 20:46:36 2006
@@ -1,6 +1,7 @@
 loop-aes (3.1d-12) UNRELEASED; urgency=low
 
   * Update modules to 2.6.18-3 
+  * Provide usage information for loop-aes-runtests
 
  -- Max Vozeler <xam at debian.org>  Fri, 24 Nov 2006 20:11:06 +0100
 

Modified: trunk/loop-aes/debian/loop-aes-runtests
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes/debian/loop-aes-runtests?rev=1328&op=diff
==============================================================================
--- trunk/loop-aes/debian/loop-aes-runtests (original)
+++ trunk/loop-aes/debian/loop-aes-runtests Fri Nov 24 20:46:36 2006
@@ -3,19 +3,26 @@
 
 set -e
 
+verbose=no
+while getopts vh opt; do
+	case $opt in
+	v)
+		verbose=yes
+		;;
+	h)
+		printf "usage: $0 [options]\n  -v verbose\n"
+		exit 0
+		;;
+	?)
+		exit 1
+		;;
+	esac
+done
+
 if [ $(id -u) -ne 0 ]; then
     echo You must be root to run this testsuite
     exit 1
 fi
-
-verbose=no
-while getopts v opt; do
-	case $opt in
-	v)
-		verbose=yes
-		;;
-	esac
-done
 
 modprobe loop
 




More information about the Pkg-loop-aes-commits mailing list