[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-34-g40de43b

Ritesh Raj Sarraf rrs at researchut.com
Mon Mar 15 12:04:20 UTC 2010


The following commit has been merged in the master branch:
commit 40de43b763cfa53d567e3f90227e2c696bc85c03
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Mon Mar 15 17:31:30 2010 +0530

    some more fixes for the testcase

diff --git a/apt-offline-tests.sh b/apt-offline-tests.sh
index 7180468..cffed94 100644
--- a/apt-offline-tests.sh
+++ b/apt-offline-tests.sh
@@ -115,17 +115,33 @@ install_features () {
 }
 
 install_features_prompt () {
-	echo "Executing command 'install $URI --verbose '"
-	$APT_OFFLINE install $URI --verbose 
+	if [ ! -z $1 ]; then
+		DOWNLOAD_DIR=$1
+		BUNDLE_FILE=$1
+	fi
+	echo "Executing command 'install $DOWNLOAD_DIR --verbose'"
+	$APT_OFFLINE install $DOWNLOAD_DIR --verbose
+
+	echo "Executing command 'install $DOWNLOAD_DIR --simulate'"
+	$APT_OFFLINE install $DOWNLOAD_DIR --simulate
+
+	echo "Executing command 'install $DOWNLOAD_DIR'"
+	$APT_OFFLINE install $DOWNLOAD_DIR --simulate
+
+	echo "Executing command 'install $DOWNLOAD_DIR --allow-unauthenticated'"
+	$APT_OFFLINE install $DOWNLOAD_DIR --simulate --allow-unauthenticated
+
+	echo "Executing command 'install $BUNDLE_FILE --verbose'"
+	$APT_OFFLINE install $BUNDLE_FILE --verbose
 
-	echo "Executing command 'install $URI --simulate '"
-	$APT_OFFLINE install $URI --simulate 
+	echo "Executing command 'install $BUNDLE_FILE --simulate'"
+	$APT_OFFLINE install $BUNDLE_FILE --simulate
 
-	echo "Executing command 'install $URI '"
-	$APT_OFFLINE install $URI
+	echo "Executing command 'install $BUNDLE_FILE'"
+	$APT_OFFLINE install $BUNDLE_FILE --simulate
 
-	echo "Executing command 'install $URI --allow-unauthenticated'"
-	$APT_OFFLINE install $URI --allow-unauthenticated
+	echo "Executing command 'install $BUNDLE_FILE --allow-unauthenticated'"
+	$APT_OFFLINE install $BUNDLE_FILE --simulate --allow-unauthenticated
 }
 
 all_features () {

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list