Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
cb061733
Commit
cb061733
authored
Feb 28, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
8f2712fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
t/neo/storage/fs1/index_test.go
t/neo/storage/fs1/index_test.go
+14
-3
No files found.
t/neo/storage/fs1/index_test.go
View file @
cb061733
// XXX license/copyright
// Copyright (C) 2017 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
// it under the terms of the GNU General Public License version 2, or (at your
// option) any later version, as published by the Free Software Foundation.
//
// This program is distributed WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// See COPYING file for full licensing terms.
// FileStorage v1. Index. Tests
package
fs1
package
fs1
//go:generate ./py/gen-testdata
//go:generate ./py/gen-testdata
...
@@ -223,7 +234,7 @@ func TestIndexSaveToPy(t *testing.T) {
...
@@ -223,7 +234,7 @@ func TestIndexSaveToPy(t *testing.T) {
t
.
Fatal
(
err
)
t
.
Fatal
(
err
)
}
}
// now ask python part to compare testdata and save-by-us index
// now ask python part to compare testdata and save
d
-by-us index
cmd
:=
exec
.
Command
(
"./py/indexcmp"
,
"testdata/1.fs.index"
,
workdir
+
"/1.fs.index"
)
cmd
:=
exec
.
Command
(
"./py/indexcmp"
,
"testdata/1.fs.index"
,
workdir
+
"/1.fs.index"
)
cmd
.
Stdout
=
os
.
Stdout
cmd
.
Stdout
=
os
.
Stdout
cmd
.
Stderr
=
os
.
Stderr
cmd
.
Stderr
=
os
.
Stderr
...
...
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