diff options
author | Tao Bao <tbao@google.com> | 2016-11-16 07:54:08 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-11-16 07:54:08 +0100 |
commit | 4f86f26a3da5a0a612b0d7b5305847a6c2dae195 (patch) | |
tree | 3b23753097471749001b289ee96b26382459abef /tests/common/test_constants.h | |
parent | Merge changes from topic 'minui-cherrypick' (diff) | |
parent | updater: Fix the wrong return value for package_extract_file(). (diff) | |
download | android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar.gz android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar.bz2 android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar.lz android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar.xz android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.tar.zst android_bootable_recovery-4f86f26a3da5a0a612b0d7b5305847a6c2dae195.zip |
Diffstat (limited to 'tests/common/test_constants.h')
-rw-r--r-- | tests/common/test_constants.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/common/test_constants.h b/tests/common/test_constants.h index 97e74a3c2..93e4ab5b2 100644 --- a/tests/common/test_constants.h +++ b/tests/common/test_constants.h @@ -19,6 +19,15 @@ #include <stdlib.h> +// Zip entries in ziptest_valid.zip. +static const std::string kATxtContents("abcdefghabcdefgh\n"); +static const std::string kBTxtContents("abcdefgh\n"); + +// echo -n -e "abcdefghabcdefgh\n" | sha1sum +static const std::string kATxtSha1Sum("32c96a03dc8cd20097940f351bca6261ee5a1643"); +// echo -n -e "abcdefgh\n" | sha1sum +static const std::string kBTxtSha1Sum("e414af7161c9554089f4106d6f1797ef14a73666"); + static const char* data_root = getenv("ANDROID_DATA"); static std::string from_testdata_base(const std::string& fname) { |