-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from c-kuhlman/release-8.0
Modified components of poolTester so that it works under Solaris10
- Loading branch information
Showing
12 changed files
with
141 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# An example .poolTester init file: | ||
|
||
# poolTester will look for this file in your home directory, and then in your current directory, | ||
# loading it to initalize whatever settings you desire or need ... | ||
|
||
|
||
# poolTester makes use of the native Linux utility 'seq' in many places | ||
# Before I found an implementation in an out of the way directory on my | ||
# Solaris machine, I used this function to provide a sufficient subset of | ||
# 'seq' functionality to satisfy poolTester's needs. | ||
|
||
#function seq () | ||
#{ | ||
# i=$1; | ||
# if [[ -z $2 ]]; then | ||
# l=$1 | ||
# i=1 | ||
# else | ||
# l=$2 | ||
# fi | ||
# while [ $i -le $l ]; do | ||
# printf "%d\n" $i | ||
# i=`expr $i + 1` | ||
# done | ||
#} | ||
|
||
# need a grep that understands the -q option .... | ||
alias grep=/usr/xpg4/bin/grep | ||
|
||
# the following is needed to make regular expressions work properly on some versions of bash | ||
shopt -s expand_aliases compat31 | ||
|
||
# a location for the executables under test | ||
export Tools=exe | ||
|
||
# NDF for running testDeck01 and its ilk ... | ||
export NDFPathName=../td/testNetwork-sparc/NDF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
[!x <- 500000; [x > 0] whileTrue:[:x <- x - 1]] value; | ||
|
||
Utility define:'processId' toBe: 604 asPrimitive; | ||
|
||
"sleep 25" filterOutputOf:[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Repeated hardRestarts left a pool in a suspended state in early versions of 8.1 | ||
# This script fails with an error when run against that version. | ||
# It succeeds when run against version 8.0 | ||
# It should succeed when run against a version of 8.1 with the bug fixed!! | ||
|
||
# | ||
pre_exec: start -c $POOLTESTERDIR/configs/max1.ptc | ||
|
||
thread:main, repetitions:1 | ||
|
||
operation_on_thread:main, run:hardRestart | ||
operation_on_thread:main, run:hardRestart | ||
operation_on_thread:main, run:query -q $POOLTESTERDIR/queries/TestQuery01.vis -a | ||
|
||
post_exec: waitForStat -t 60 -c Status=Running | ||
#post_exec: waitForStat -t 60 -c QueriesProcessed=2 | ||
post_exec: hardStop |
Oops, something went wrong.