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
e499ee44
Commit
e499ee44
authored
Oct 04, 2015
by
Christian Couder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sharness: swap test_*cmp arguments
License: MIT Signed-off-by:
Christian Couder
<
chriscool@tuxfamily.org
>
parent
bf8adc6c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
test/sharness/t0044-add-symlink.sh
test/sharness/t0044-add-symlink.sh
+3
-3
test/sharness/t0141-addfilter.sh
test/sharness/t0141-addfilter.sh
+1
-1
test/sharness/x0045-add-cat-iptb.sh
test/sharness/x0045-add-cat-iptb.sh
+1
-1
test/sharness/xt0130-multinode.sh
test/sharness/xt0130-multinode.sh
+1
-1
No files found.
test/sharness/t0044-add-symlink.sh
View file @
e499ee44
...
...
@@ -24,7 +24,7 @@ test_add_symlinks() {
test_expect_success
"output looks good"
'
echo QmWdiHKoeSW8G1u7ATCgpx4yMoUhYaJBQGkyPLkS9goYZ8 > filehash_exp &&
test_cmp filehash_
out
filehash_
exp
test_cmp filehash_
exp
filehash_
out
'
test_expect_success
"adding a symlink adds the link itself"
'
...
...
@@ -33,7 +33,7 @@ test_add_symlinks() {
test_expect_success
"output looks good"
'
echo "QmdocmZeF7qwPT9Z8SiVhMSyKA2KKoA2J7jToW6z6WBmxR" > goodlink_exp &&
test_cmp goodlink_
out
goodlink_
exp
test_cmp goodlink_
exp
goodlink_
out
'
test_expect_success
"adding a broken symlink works"
'
...
...
@@ -42,7 +42,7 @@ test_add_symlinks() {
test_expect_success
"output looks good"
'
echo "QmWYN8SEXCgNT2PSjB6BnxAx6NJQtazWoBkTRH9GRfPFFQ" > badlink_exp &&
test_cmp badlink_
out
badlink_
exp
test_cmp badlink_
exp
badlink_
out
'
}
...
...
test/sharness/t0141-addfilter.sh
View file @
e499ee44
...
...
@@ -27,7 +27,7 @@ test_swarm_filter_cmd() {
'
test_expect_success
"'ipfs swarm filters' output looks good"
'
test_sort_cmp list_
actual list_expected
test_sort_cmp list_
expected list_actual
'
}
...
...
test/sharness/x0045-add-cat-iptb.sh
View file @
e499ee44
...
...
@@ -30,7 +30,7 @@ test_expect_success "cat that file on node2" '
test_expect_success
"verify files match"
'
multihash filea > expected1 &&
multihash fileb > actual1 &&
test_cmp
actual1
expected1
test_cmp expected1
actual1
'
test_expect_success
"shut down nodes"
'
...
...
test/sharness/xt0130-multinode.sh
View file @
e499ee44
...
...
@@ -30,7 +30,7 @@ test_expect_success "cat that file on node2" '
test_expect_success
"verify files match"
'
multihash filea > expected1 &&
multihash fileb > actual1 &&
test_cmp
actual1
expected1
test_cmp expected1
actual1
'
test_expect_success
"shut down nodes"
'
...
...
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