Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
03a582b1
Unverified
Commit
03a582b1
authored
Dec 14, 2023
by
Edward Thomson
Committed by
GitHub
Dec 14, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6677 from libgit2/ethomson/netbsd
process: test /usr/bin/false on BSDs
parents
e020c85e
cc965243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tests/util/process/start.c
+3
-2
No files found.
tests/util/process/start.c
View file @
03a582b1
...
...
@@ -38,9 +38,10 @@ void test_process_start__cleanup(void)
void
test_process_start__returncode
(
void
)
{
#if
def GIT_WIN32
#if
defined(GIT_WIN32)
const
char
*
args_array
[]
=
{
"C:
\\
Windows
\\
System32
\\
cmd.exe"
,
"/c"
,
"exit"
,
"1"
};
#elif __APPLE__
#elif defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
defined(__MidnightBSD__) || defined(__DragonFly__)
const
char
*
args_array
[]
=
{
"/usr/bin/false"
};
#else
const
char
*
args_array
[]
=
{
"/bin/false"
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment