Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Unified Diff: utility/tpm-nvsize

Issue 4087012: Test the tpm recovery script with a real TPM. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git
Patch Set: cleanup Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utility/chromeos_tpm_recovery_test ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/tpm-nvsize
diff --git a/utility/tpm-nvsize b/utility/tpm-nvsize
index ba5b46ff85bee57977b559f68cd6dc8df7b3a2be..724dcd8bae103ca94f97c0c2c50501f22b7d25b2 100755
--- a/utility/tpm-nvsize
+++ b/utility/tpm-nvsize
@@ -16,7 +16,7 @@ try=$high
while true; do
## echo trying $try [ $low $high ]
if /usr/bin/tpmc definespace 0xf004 $(printf "0x%x" $try) 0x1 \
- > dev/null 2>&1; then
+ > /dev/null 2>&1; then
# definespace success: end, or $try must grow
if [ $try -eq $low ]; then
echo $low
« no previous file with comments | « utility/chromeos_tpm_recovery_test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698