diff options
author | Geremy Condra <gcondra@google.com> | 2013-11-19 14:59:01 -0800 |
---|---|---|
committer | Geremy Condra <gcondra@google.com> | 2013-11-19 20:53:58 -0800 |
commit | 1672db6cfe2766c7fcf7bbb055f5c306549975b7 (patch) | |
tree | 2c6bde409a94a94c2dfe2ebb55e1bfb69d7326e5 | |
parent | 056d5861bc3f0aa4f4d4af5fafebef894f901a6b (diff) | |
download | syspatch-1672db6cfe2766c7fcf7bbb055f5c306549975b7.tar.gz |
Fix test script error.
Change-Id: Idd45a01ff3696a7461d2e985520221da6fb3ad18
-rwxr-xr-x | test/real_syspatch_test/test.sh | 4 |
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 |