summaryrefslogtreecommitdiff
path: root/simpleperf/cmd_record_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/cmd_record_test.cpp')
-rw-r--r--simpleperf/cmd_record_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/simpleperf/cmd_record_test.cpp b/simpleperf/cmd_record_test.cpp
index 64bc7fbf..8fea4382 100644
--- a/simpleperf/cmd_record_test.cpp
+++ b/simpleperf/cmd_record_test.cpp
@@ -271,8 +271,10 @@ TEST(record_cmd, existing_threads) {
}
TEST(record_cmd, no_monitored_threads) {
+ ScopedAppPackageName scoped_package_name("");
TemporaryFile tmpfile;
ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path}));
+ ASSERT_FALSE(RecordCmd()->Run({"-o", tmpfile.path, ""}));
}
TEST(record_cmd, more_than_one_event_types) {