Skip to content

Commit

Permalink
Add test for online field in diag sys
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Jun 18, 2016
1 parent e67a21e commit 245e8fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/sharness/t0151-sysdiag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ test_expect_success "ipfs diag sys succeeds" '
test_expect_success "output contains some expected keys" '
grep "virt" output &&
grep "interface_addresses" output &&
grep "arch" output
grep "arch" output &&
grep "online"
'

test_expect_success "uname succeeds" '
Expand Down

0 comments on commit 245e8fa

Please sign in to comment.