Skip to content

Commit

Permalink
Fix command name for subprocess runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Nov 3, 2023
1 parent 657f800 commit 70aa6e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/aws/common/cross_process_lock.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef AWS_COMMON_IPC_UTIL_H
#define AWS_COMMON_IPC_UTIL_H
#ifndef AWS_COMMON_CROSS_PROCESS_LOCK_H
#define AWS_COMMON_CROSS_PROCESS_LOCK_H
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
Expand Down Expand Up @@ -31,4 +31,4 @@ void aws_cross_process_lock_release(struct aws_cross_process_lock *instance_lock

AWS_EXTERN_C_END

#endif /* AWS_COMMON_IPC_UTIL_H */
#endif /* AWS_COMMON_CROSS_PROCESS_LOCK_H */
4 changes: 2 additions & 2 deletions tests/cross_process_lock_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ static int s_test_cross_process_lock_works_cross_proc(struct aws_allocator *allo
/* Invoke the test runner in a new process for ease so cmake automatically does the work for us. */
struct aws_run_command_options command_options = {
#ifdef _WIN32
.command = "aws-c-common-tests instance_lock_mp_test_runner",
.command = "aws-c-common-tests cross_process_lock_mp_test_runner",
#else
.command = "./aws-c-common-tests instance_lock_mp_test_runner",
.command = "./aws-c-common-tests cross_process_lock_mp_test_runner",
#endif /* _WIN32 */
};

Expand Down

0 comments on commit 70aa6e0

Please sign in to comment.