summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2013-11-20 04:55:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-11-20 04:55:33 +0000
commite574566506b0eeb958a82e92db349d7d2a8b33e4 (patch)
tree2c6bde409a94a94c2dfe2ebb55e1bfb69d7326e5
parent8010b99238d129a9177c621679ae0ea6e92031aa (diff)
parent1672db6cfe2766c7fcf7bbb055f5c306549975b7 (diff)
downloadsyspatch-e574566506b0eeb958a82e92db349d7d2a8b33e4.tar.gz
Merge "Fix test script error."
-rwxr-xr-xtest/real_syspatch_test/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/real_syspatch_test/test.sh b/test/real_syspatch_test/test.sh
index 452bd82..5188029 100755
--- a/test/real_syspatch_test/test.sh
+++ b/test/real_syspatch_test/test.sh
@@ -30,7 +30,7 @@ rm a_to_b.patch.orig
# run the test
STARTTIME=$(date +%s)
-$ANDROID_BUILD_TOP/out/host/linux-x86/bin/syspatch from.img a_to_b.patch.xz temp.img
+$ANDROID_BUILD_TOP/out/host/linux-x86/bin/syspatch_host from.img a_to_b.patch.xz temp.img
ENDTIME=$(date +%s)
cmp to.img temp.img
if [ $? -ne 0 ]; then
@@ -39,7 +39,7 @@ else
echo "Different file test passed, took $((ENDTIME - STARTTIME)) seconds"
fi
STARTTIME=$(date +%s)
-/usr/bin/time -v $ANDROID_BUILD_TOP/out/host/linux-x86/bin/syspatch from.img a_to_b.patch.xz from.img
+/usr/bin/time -v $ANDROID_BUILD_TOP/out/host/linux-x86/bin/syspatch_host from.img a_to_b.patch.xz from.img
ENDTIME=$(date +%s)
cmp from.img to.img
if [ $? -ne 0 ]; then