Commit e503178 1 parent 51d05fb commit e503178 Copy full SHA for e503178
File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ test_expect_success "ipfs version succeeds" '
17
17
'
18
18
19
19
test_expect_success " ipfs version output looks good" '
20
- cat version.txt | egrep "^ipfs version [0-9]+\.[0-9]+\.[0-9]" >/dev/null ||
20
+ egrep "^ipfs version [0-9]+\.[0-9]+\.[0-9]" version.txt >/dev/null ||
21
21
test_fsh cat version.txt
22
22
'
23
23
@@ -26,8 +26,8 @@ test_expect_success "ipfs help succeeds" '
26
26
'
27
27
28
28
test_expect_success " ipfs help output looks good" '
29
- cat help.txt | egrep -i "^Usage:" >/dev/null &&
30
- cat help.txt | egrep "ipfs .* <command>" >/dev/null ||
29
+ egrep -i "^Usage:" help.txt >/dev/null &&
30
+ egrep "ipfs .* <command>" help.txt >/dev/null ||
31
31
test_fsh cat help.txt
32
32
'
33
33
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ test_expect_success "ipfs daemon output looks good" '
60
60
echo "peer identity: $PEERID" >>expected_daemon &&
61
61
echo "to get started, enter:" >>expected_daemon &&
62
62
printf "\\n\\t$STARTFILE\\n\\n" >>expected_daemon &&
63
- cat local_addrs | sed "s/^/Swarm listening on /" >>expected_daemon &&
63
+ sed "s/^/Swarm listening on /" local_addrs >>expected_daemon &&
64
64
echo "API server listening on /ip4/127.0.0.1/tcp/5001" >>expected_daemon &&
65
65
echo "Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080" >>expected_daemon &&
66
66
echo "Daemon is ready" >>expected_daemon &&
@@ -82,7 +82,7 @@ test_expect_success "ipfs version succeeds" '
82
82
'
83
83
84
84
test_expect_success " ipfs version output looks good" '
85
- cat version.txt | egrep "^ipfs version [0-9]+\.[0-9]+\.[0-9]" >/dev/null ||
85
+ egrep "^ipfs version [0-9]+\.[0-9]+\.[0-9]" version.txt >/dev/null ||
86
86
test_fsh cat version.txt
87
87
'
88
88
@@ -91,8 +91,8 @@ test_expect_success "ipfs help succeeds" '
91
91
'
92
92
93
93
test_expect_success " ipfs help output looks good" '
94
- cat help.txt | egrep -i "^Usage:" >/dev/null &&
95
- cat help.txt | egrep "ipfs .* <command>" >/dev/null ||
94
+ egrep -i "^Usage:" help.txt >/dev/null &&
95
+ egrep "ipfs .* <command>" help.txt >/dev/null ||
96
96
test_fsh cat help.txt
97
97
'
98
98
You can’t perform that action at this time.
1 commit comments
whyrusleeping commentedon Oct 19, 2015
@chriscool those poor kitties.