diff options
author | Tom Cherry <tomcherry@google.com> | 2019-09-25 16:48:07 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2019-09-25 16:48:07 -0700 |
commit | 0cf9259267a5fba823db8bdf779b72887cb54877 (patch) | |
tree | bc4b1d563d039ffd4d84a690f9dfb8adf302dcfb /tests | |
parent | fabba633985e271c9a50dc3ec2e5398576b7c28b (diff) | |
download | extras-0cf9259267a5fba823db8bdf779b72887cb54877.tar.gz |
Update system/extras for logwrapper
Test: build
Change-Id: I60bd71671ef18b62f3d4152e3061133eafa935f8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fstest/recovery_test.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/fstest/recovery_test.cpp b/tests/fstest/recovery_test.cpp index 62ca358a..793f8da2 100644 --- a/tests/fstest/recovery_test.cpp +++ b/tests/fstest/recovery_test.cpp @@ -217,9 +217,8 @@ class FsRecoveryTest : public ::testing::Test { UMOUNT_BIN, cache_str, }; - return android_fork_execvp_ext(ARRAY_SIZE(umount_argv), umount_argv, - NULL, true, LOG_KLOG, false, NULL, - NULL, 0) >= 0; + return logwrap_fork_execvp(ARRAY_SIZE(umount_argv), umount_argv, nullptr, + false, LOG_KLOG, false, nullptr) >= 0; } bool mountAll() { @@ -230,9 +229,8 @@ class FsRecoveryTest : public ::testing::Test { storage_str, mountall_str, }; - return android_fork_execvp_ext(ARRAY_SIZE(mountall_argv), mountall_argv, - NULL, true, LOG_KLOG, false, NULL, - NULL, 0) >= 0; + return logwrap_fork_execvp(ARRAY_SIZE(mountall_argv), mountall_argv, nullptr, + false, LOG_KLOG, false, nullptr) >= 0; } int getCacheBlkFd() { |