mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Removed static cptest/ dir, now managed by CI tests
This commit is contained in:
parent
242d39192c
commit
c511af6c13
2 changed files with 17 additions and 3 deletions
|
@ -54,9 +54,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
############
|
############
|
||||||
stage "Test(S->C)"
|
stage "Test(xc S->C)"
|
||||||
############
|
############
|
||||||
echo "Testing secure copy from server -> client ..."
|
echo "Testing secure copy from server -> client ..."
|
||||||
|
./xc_testfiles.sh
|
||||||
tmpdir=$$
|
tmpdir=$$
|
||||||
mkdir -p /tmp/$tmpdir
|
mkdir -p /tmp/$tmpdir
|
||||||
cd /tmp/$tmpdir
|
cd /tmp/$tmpdir
|
||||||
|
@ -76,7 +77,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
############
|
############
|
||||||
stage "Test(C->S)"
|
stage "Test(xc C->S)"
|
||||||
############
|
############
|
||||||
echo "TODO ..."
|
echo "TODO ..."
|
||||||
|
|
||||||
|
@ -99,7 +100,7 @@ tar -cz --exclude=.git --exclude=cptest -f ${BACILLUS_ARTFDIR}/xs.tgz .
|
||||||
############
|
############
|
||||||
stage "Cleanup"
|
stage "Cleanup"
|
||||||
############
|
############
|
||||||
# nop
|
rm -rf cptest
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "--Done--"
|
echo "--Done--"
|
||||||
|
|
13
xc_testfiles.sh
Executable file
13
xc_testfiles.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## setup.sh - create some files for xc copy testing
|
||||||
|
dir=cptest
|
||||||
|
|
||||||
|
mkdir -p ${dir}/subdir
|
||||||
|
dd bs=1024 count=16 if=/dev/urandom of=${dir}/file16KB
|
||||||
|
dd bs=1024 count=16 if=/dev/urandom of=${dir}/file1KB
|
||||||
|
dd bs=1024 count=16 if=/dev/urandom of=${dir}/file32KB
|
||||||
|
dd bs=1024 count=16 if=/dev/urandom of=${dir}/file6B
|
||||||
|
dd bs=1048576 count=32 if=/dev/urandom of=${dir}/subdir/file32MB
|
||||||
|
dd bs=1048576 count=64 if=/dev/urandom of=${dir}/subdir/file64MB
|
||||||
|
|
Loading…
Reference in a new issue