File: pull-tests

package info (click to toggle)
cctools 9.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,624 kB
  • sloc: ansic: 192,539; python: 20,827; cpp: 20,199; sh: 11,719; perl: 4,106; xml: 3,688; makefile: 1,224
file content (19 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

source "$(dirname "$0")"/test-common.bash

DIR="pull-tests.workflow"

if ! [ -d "$DIR" ]; then
	weaver -N -O "$DIR" "$(dirname "$0")/pull-tests.py"
fi

for pull in $(for g in $((1+32*2**10)) $((1+1*2**20)) $((1+1*2**30)) $((1+2*2**30)) $((1+4*2**30)) $((1+8*2**30)) 0; do printf '%012d\t' "$g"; done); do
	for scheduler in fifo-0; do
		for replication in push-async-0; do
			testrun "$DIR" "$(pwd)/test.${pull}.${scheduler}.${replication}" "scheduler=${scheduler}&replication=${replication}&pull-threshold=${pull}"
		done
	done
done

# vim: set noexpandtab tabstop=4: