summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2012-07-20 11:10:06 -0700
committerGerrit <chrome-bot@google.com>2012-07-23 14:15:46 -0700
commit6e731475236cdaa008fe5c7a6196807e51b08553 (patch)
treeb20d0941f8509a0b2042ef6597f5ee9fceaef42d
parent8a301be7e9b82560a1103f7dae8ebb31500845f7 (diff)
downloadvboot-6e731475236cdaa008fe5c7a6196807e51b08553.tar.gz
tests: relocate state file to actual /var
Since /var has moved to the encrypted partition, use the real system mount location for /var so it doesn't matter which filesystem it is bind mounted to. BUG=None TEST=link build, tests pass Change-Id: I2831949f3c1cf71765d97720b5ca64b869ec1fa4 Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/28033 Reviewed-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--tests/rollback_index_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rollback_index_test.c b/tests/rollback_index_test.c
index f2926f3b..a86ebde2 100644
--- a/tests/rollback_index_test.c
+++ b/tests/rollback_index_test.c
@@ -49,7 +49,7 @@
} while (0)
#define WRITE_BUCKET_NV_INDEX 0x1050
-#define STATEPATH "/mnt/stateful_partition/var/spool/rbtest.state"
+#define STATEPATH "/var/spool/rbtest.state"
#define TPM_ANY_FAILURE (-1)
#define TPM_MAX_NV_WRITE_NOOWNER 64