summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-08-27 01:44:33 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-08-27 01:44:33 +0200
commitd987fe1d57b410c1f32f355165c022d5bcec6ba8 (patch)
treecc70806155f612117e2e62953288f84a2b01b4ec /tests
parentMerge "Free mmaped area if keys fail to load" am: f599414aec (diff)
parentMerge "Fix clang-tidy warnings in bootable/recovery." (diff)
downloadandroid_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar.gz
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar.bz2
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar.lz
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar.xz
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.tar.zst
android_bootable_recovery-d987fe1d57b410c1f32f355165c022d5bcec6ba8.zip
Diffstat (limited to 'tests')
-rw-r--r--tests/component/applypatch_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/component/applypatch_test.cpp b/tests/component/applypatch_test.cpp
index b44ddd17c..2f7cb02f4 100644
--- a/tests/component/applypatch_test.cpp
+++ b/tests/component/applypatch_test.cpp
@@ -65,7 +65,7 @@ static bool file_cmp(std::string& f1, std::string& f2) {
return c1 == c2;
}
-static std::string from_testdata_base(const std::string fname) {
+static std::string from_testdata_base(const std::string& fname) {
return android::base::StringPrintf("%s%s%s/%s",
&DATA_PATH[0],
&NATIVE_TEST_PATH[0],