mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
test/jenkins: use bash to run shell scripts
We permanently have issues like this: ./test/jenkins/criu-iter.sh: 3: source: not found It looks like a good idea to use one shell to run our jenkins scripts. Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
40169b950e
commit
d38851c9bd
22 changed files with 43 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This is a job which is executed on btrfs
|
||||
|
||||
source `dirname $0`/criu-lib.sh &&
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/cpu.rt_runtime_us
|
||||
echo 950000 > /sys/fs/cgroup/cpu,cpuacct/system/jenkins.service/cpu.rt_runtime_us
|
||||
git checkout -f ${TEST_COMMIT}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check auto-deduplication of pagemaps
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check that dump is not destructive
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check known fault injections
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Test how freeze cgroup works
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make one regular C/R cycle over randomly-generated groups
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check known fault injections
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make 3 iteration of dump/restore for each test
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make one regular C/R cycle
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
KERN_MAJ=`uname -r | cut -d. -f1`
|
||||
KERN_MIN=`uname -r | cut -d. -f2`
|
||||
if [ $KERN_MAJ -ge "4" ] && [ $KERN_MIN -ge "11" ]; then
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check lazy-pages
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check lazy-pages
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source `dirname $0`/criu-lib.sh &&
|
||||
prep &&
|
||||
make -C test other &&
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make one regular C/R cycle
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check 3 pre-dump-s before dump (with and w/o page server)
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check remote-lazy-pages
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make 3 iteration of dump/restore for each test
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check snapshots
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check --leave-stopped option
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make 3 iteration of dump/restore for each test
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Make one regular C/R cycle
|
||||
set -e
|
||||
source `dirname $0`/criu-lib.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue