Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
8c26eff1
Commit
8c26eff1
authored
Jun 14, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1371 from ipfs/use-sharness-test-seq
ipfs-test-lib: use test_seq from sharness
parents
8b81793c
408a818b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
test/ipfs-test-lib.sh
test/ipfs-test-lib.sh
+0
-13
No files found.
test/ipfs-test-lib.sh
View file @
8c26eff1
...
...
@@ -22,16 +22,3 @@ test_sort_cmp() {
sort
"
$2
"
>
"
$2_sorted
"
&&
test_cmp
"
$1_sorted
"
"
$2_sorted
"
}
# Depending on GNU seq availability is not nice.
# Git also has test_seq but it uses Perl.
test_seq
()
{
test
"
$1
"
-le
"
$2
"
||
return
i
=
"
$1
"
j
=
"
$2
"
while
test
"
$i
"
-le
"
$j
"
do
echo
"
$i
"
i
=
$(
expr
"
$i
"
+ 1
)
done
}
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