Skip to content

Commit

Permalink
more sharness tweaks
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
  • Loading branch information
hsanjuan committed Nov 28, 2017
1 parent ff3c69f commit cb5fdf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sharness/t0030-ctl-pin.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

test_description="Test cluster-ctl's pinning and unpinning functionality"

Expand Down
4 changes: 2 additions & 2 deletions sharness/t0050-service-state-upgrade-from-current.sh
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/sh

test_description="Test service state 'upgrade' from current version"

Expand All @@ -14,7 +14,7 @@ test_expect_success IPFS,CLUSTER "cluster-service state upgrade works" '
ipfs-cluster-ctl pin add "$cid" &&
sleep 5 &&
cluster_kill &&
ipfs-cluster-service -d --config "test-config" state upgrade &>state-upgrade-cmd.txt
ipfs-cluster-service --config "test-config" state upgrade
'

# previous test kills the cluster, we need to re-start
Expand Down
2 changes: 1 addition & 1 deletion sharness/t0051-service-state-upgrade-from-old.sh
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/sh

test_description="Test service state upgrade v1 -> v2 and v2 -> v2"
IPFS_OUTPUT="/dev/stderr" # change for debugging
Expand Down

0 comments on commit cb5fdf3

Please sign in to comment.