mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 04:17:44 +08:00
test: revert few stdin tests that were removed
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
050985c52b
commit
384fb1095c
@ -344,6 +344,25 @@ test_expect_success "ipfs cat output looks good" '
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat with both arg and stdin" '
|
||||
echo "$MARS" | ipfs cat "$VENUS" >actual
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat output looks good" '
|
||||
cat mountdir/planets/venus.txt >expected &&
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat with two args and stdin" '
|
||||
echo "$MARS" | ipfs cat "$VENUS" "$VENUS" >actual
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat output looks good" '
|
||||
cat mountdir/planets/venus.txt mountdir/planets/venus.txt >expected &&
|
||||
test_cmp expected actual
|
||||
'
|
||||
|
||||
|
||||
test_expect_success "go-random is installed" '
|
||||
type random
|
||||
'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user