File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ if [ "$CLUSTER" == "true" ] ; then
133
133
first=true
134
134
# echo $nodes | while read -r node; do
135
135
for node in $nodes ; do
136
- if ! $( echo " set -o pipefail; ssh " $node " -- 'touch " $FILE_TO_TEST " && rm " $FILE_TO_TEST " '" | ghe-ssh " $host " /bin/bash) ; then
136
+ if ! echo " set -o pipefail; ssh $node -- 'touch $FILE_TO_TEST && rm $FILE_TO_TEST '" | ghe-ssh " $host " /bin/bash; then
137
137
# echo "File system is writable on $node"
138
138
# else
139
139
echo " File system is not writeable on $node " 1>&2
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ begin_test "ghe-host-check fails when encountering RO file-system"
134
134
ghe-ssh " $GHE_HOSTNAME " -- ' chmod a-w -R "~/tmp"'
135
135
136
136
# File creation fails for CLUSTER
137
- ! FILE_TO_TEST=" ~ /tmp/test" CLUSTER=true ghe-host-check
138
- FILE_TO_TEST=" ~ /tmp/test" CLUSTER=false ghe-host-check
137
+ ! FILE_TO_TEST=" $HOME /tmp/test" CLUSTER=true ghe-host-check
138
+ FILE_TO_TEST=" $HOME /tmp/test" CLUSTER=false ghe-host-check
139
139
)
140
140
end_test
You can’t perform that action at this time.
0 commit comments