Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
1c773c9f
Commit
1c773c9f
authored
Jun 03, 2020
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prototype multi-log file backend
parent
1e69eda8
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
172 additions
and
124 deletions
+172
-124
include/bake.h
include/bake.h
+1
-1
src/bake-file-backend.c
src/bake-file-backend.c
+159
-111
tests/basic-file.sh
tests/basic-file.sh
+2
-2
tests/copy-to-and-from-file.sh
tests/copy-to-and-from-file.sh
+2
-2
tests/copy-to-and-from-multi-providers-file.sh
tests/copy-to-and-from-multi-providers-file.sh
+2
-2
tests/copy-to-and-from-multi-targets-file.sh
tests/copy-to-and-from-multi-targets-file.sh
+2
-2
tests/create-write-persist-file.sh
tests/create-write-persist-file.sh
+2
-2
tests/create-write-persist-remove-file.sh
tests/create-write-persist-remove-file.sh
+2
-2
No files found.
include/bake.h
View file @
1c773c9f
...
...
@@ -20,7 +20,7 @@ typedef struct {
/**
* Persistent, opaque identifier for a region within a BAKE target.
*/
#define BAKE_REGION_ID_DATA_SIZE
16
#define BAKE_REGION_ID_DATA_SIZE
24
typedef
struct
{
uint32_t
type
;
char
data
[
BAKE_REGION_ID_DATA_SIZE
];
...
...
src/bake-file-backend.c
View file @
1c773c9f
This diff is collapsed.
Click to expand it.
tests/basic-file.sh
View file @
1c773c9f
...
...
@@ -9,8 +9,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with
2
second wait, 20s timeout
test_start_servers 1
2
20 file:
# start 1 server with
4
second wait, 20s timeout
test_start_servers 1
4
20 file:
sleep
1
...
...
tests/copy-to-and-from-file.sh
View file @
1c773c9f
...
...
@@ -9,8 +9,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with
2
second wait, 20s timeout
test_start_servers 1
2
20 file:
# start 1 server with
4
second wait, 20s timeout
test_start_servers 1
4
20 file:
# actual test case
#####################
...
...
tests/copy-to-and-from-multi-providers-file.sh
View file @
1c773c9f
...
...
@@ -9,8 +9,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with 2 providers,
2
second wait, 20s timeout
test_start_servers_multi_providers 1 2
2
20 file:
# start 1 server with 2 providers,
4
second wait, 20s timeout
test_start_servers_multi_providers 1 2
4
20 file:
# actual test case
#####################
...
...
tests/copy-to-and-from-multi-targets-file.sh
View file @
1c773c9f
...
...
@@ -9,8 +9,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with 2 targets,
2
second wait, 20s timeout
test_start_servers_multi_targets 1 2
2
20 file:
# start 1 server with 2 targets,
4
second wait, 20s timeout
test_start_servers_multi_targets 1 2
4
20 file:
# actual test case
#####################
...
...
tests/create-write-persist-file.sh
View file @
1c773c9f
...
...
@@ -12,8 +12,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with
2
second wait, 20s timeout
test_start_servers 1
2
20 file:
# start 1 server with
4
second wait, 20s timeout
test_start_servers 1
4
20 file:
sleep
1
...
...
tests/create-write-persist-remove-file.sh
View file @
1c773c9f
...
...
@@ -12,8 +12,8 @@ fi
export
TMPDIR
=
"."
source
$srcdir
/tests/test-util.sh
# start 1 server with
2
second wait, 20s timeout
test_start_servers 1
2
20 file:
# start 1 server with
4
second wait, 20s timeout
test_start_servers 1
4
20 file:
sleep
1
...
...
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