mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
fix: sio-error test to fail if commands fail (#17466)
This commit is contained in:
parent
1443b5927a
commit
f9b8d1c699
@ -1,12 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
export CI=1
|
export CI=1
|
||||||
|
|
||||||
make || exit -1
|
make || exit -1
|
||||||
|
|
||||||
killall -9 minio
|
killall -9 minio || true
|
||||||
|
|
||||||
rm -rf /tmp/xl/
|
rm -rf /tmp/xl/
|
||||||
mkdir -p /tmp/xl/1/ /tmp/xl/2/
|
mkdir -p /tmp/xl/1/ /tmp/xl/2/
|
||||||
@ -45,6 +46,8 @@ sleep 1
|
|||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
cp README.md internal.tar
|
||||||
|
|
||||||
./mc cp internal.tar myminio1/testbucket/dir/1.tar
|
./mc cp internal.tar myminio1/testbucket/dir/1.tar
|
||||||
./mc cp internal.tar myminio2/testbucket/dir/2.tar
|
./mc cp internal.tar myminio2/testbucket/dir/2.tar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user