File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ prefix=${prefix%/}
66host=${2-" localhost" }
77grpc_port=${3-" 50051" }
88grpc_endpoint=" ${host} :${grpc_port} "
9- url=root://$host
109host_ips=($( hostname -i) )
1110
1211test -z " $1 " && echo " error: must specify test directory " && exit -1
@@ -215,7 +214,7 @@ eos-grpc-ns --endpoint ${grpc_endpoint} --force-ssl --token $authkey --uid 99 re
215214eos-grpc-ns --endpoint ${grpc_endpoint} --force-ssl --token $authkey --uid 99 recycle restore -p invalid | grep " \" code\" : \" 22\" " || exit -13
216215eos-grpc-ns --endpoint ${grpc_endpoint} --force-ssl --token $authkey --uid 99 recycle restore 2>&1 | grep " failed to parse recycle command restore" || exit -13
217216eos recycle config --add-bin $prefix /t_grpc/recycle
218- xrdcp -f /etc/passwd " $url /$prefix /t_grpc/recycle/file1.dat?eos.ruid=11&eos.rgid=11" || exit -2
217+ xrdcp -f /etc/passwd " root://localhost /$prefix /t_grpc/recycle/file1.dat?eos.ruid=11&eos.rgid=11" || exit -2
219218eos rm $prefix /t_grpc/recycle/file1.dat
220219eos-grpc-ns --endpoint ${grpc_endpoint} --force-ssl --token $authkey --uid 99 recycle ls --uid | grep " $prefix /t_grpc/recycle/file1.dat" && exit -15
221220eos-grpc-ns --endpoint ${grpc_endpoint} --force-ssl --token $authkey --uid 11 recycle ls --uid | grep " $prefix /t_grpc/recycle/file1.dat" || exit -16
You can’t perform that action at this time.
0 commit comments