Check-in [5868dd5b31]
Not logged in
Overview
SHA1 Hash:5868dd5b3138b186512a325903e61454c3b85d0b
Date: 2011-11-03 22:59:04
User: matt
Comment:Added test placeholders
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Added tests/tests/ez_fail/testconfig version [0f917c7dd3f06e48]

> 1 [setup] > 2 > 3 [requirements] > 4 priority 10 > 5 > 6 [ezsteps] > 7 lookittmp ls /tmp > 8 lookithome ls /home > 9 lookitnada ls /nada > 10 lookitusr ls /usr > 11 > 12 [test_meta] > 13 author matt > 14 owner bob > 15 description This test runs a single ezstep which is expected to pass, no logpro > 16 > 17 tags first,single > 18 reviewed 09/10/2011, by Matt

Added tests/tests/ez_pass/testconfig version [55e83172e9b4587f]

> 1 [setup] > 2 > 3 [ezsteps] > 4 lookittmp ls /tmp > 5 lookithome ls /home > 6 > 7 [test_meta] > 8 author matt > 9 owner bob > 10 description This test runs a single ezstep which is expected to pass, no logpro > 11 > 12 tags first,single > 13 reviewed 09/10/2011, by Matt

Added tests/tests/ez_warn/testconfig version [55e83172e9b4587f]

> 1 [setup] > 2 > 3 [ezsteps] > 4 lookittmp ls /tmp > 5 lookithome ls /home > 6 > 7 [test_meta] > 8 author matt > 9 owner bob > 10 description This test runs a single ezstep which is expected to pass, no logpro > 11 > 12 tags first,single > 13 reviewed 09/10/2011, by Matt

Added tests/tests/ezlog_fail/example.logpro version [e50a47bd5d58e571]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 ;; define your hooks > 6 (hook:first-error "echo \"Error hook activated: #{escaped errmsg}\"") > 7 (hook:first-warning "echo \"Got warning: #{escaped warnmsg}\"") > 8 (hook:value "echo \"Value hook activated: expected=#{expected}, measured=#{measu > 9 > 10 ;; first ensure your run at least started > 11 ;; > 12 (trigger "Init" #/This is a header/) > 13 (trigger "InitEnd" #/^\s*$/) > 14 (section "Init" "Init" "InitEnd") > 15 > 16 (trigger "Body" #/^.*$/) ;; anything starts the body > 17 ;; (trigger "EndBody" #/This had better never match/) > 18 > 19 (section "Body" "Body" "EndBody") > 20 > 21 (trigger "Blah2" #/^begin Blah2/) > 22 (trigger "Blah2End" #/^end Blah2/) > 23 (section "Blah2" "Blah2" "Blah2End") > 24 > 25 (expect:required in "Init" = 1 "Header" #/This is a header/) > 26 (expect:required in "LogFileBody" > 0 "Something required but not found" #/This > 27 (expect:value in "LogFileBody" 1.9 0.1 "Output voltage" #/Measured voltage ou > 28 (expect:value in "LogFileBody" 0.5 0.1 "Output current" #/Measured output cur > 29 (expect:value in "LogFileBody" 110e9 2e9 "A big number (first)" #/Freq:\s*([\ > 30 (expect:value in "LogFileBody" 110e9 1e9 "A big number (second), hook not cal > 31 (expect:value in "LogFileBody" 110e9 1e9 "A big number (never activated)" #/F > 32 > 33 ;; Using match number > 34 (expect:value in "LogFileBody" 1.9 0.1 "Time Voltage" #/out: (\d+)\s+(\d+)/ m > 35 > 36 ;; Comparison instead of tolerance > 37 (expect:value in "LogFileBody" 1.9 > "Time voltage" #/out: (\d+)\s+(\d+)/ m > 38 > 39 (expect:ignore in "Blah2" < 99 "FALSE ERROR" #/ERROR/) > 40 (expect:ignore in "Body" < 99 "Ignore the word error in comments" #/^\/\/.*er > 41 (expect:warning in "Body" = 0 "Any warning" #/WARNING/) > 42 (expect:error in "Body" = 0 "ERROR BLAH" (list #/ERROR/ #/error/)) ;; but d > 43 > 44 ;(expect in "Init" < 1 "Junk" #/This is bogus/)

Added tests/tests/ezlog_fail/lookittmp.logpro version [1d9c0ef873fc449b]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 > 6 (expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) > 7 > 8 (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\ > 9 (expect:warning in "LogFileBody" = 0 "Any warning" #/WARNING/) > 10 (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;;

Added tests/tests/ezlog_fail/testconfig version [13eb33bb909175be]

> 1 [setup] > 2 > 3 [ezsteps] > 4 lookittmp ls /tmp > 5 lookithome ls /home > 6 > 7 [test_meta] > 8 author matt > 9 owner bob > 10 description This test runs a single ezstep which is expected to pass using a sim > 11 > 12 tags first,single > 13 reviewed 09/10/2011, by Matt

Added tests/tests/ezlog_pass/example.logpro version [e50a47bd5d58e571]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 ;; define your hooks > 6 (hook:first-error "echo \"Error hook activated: #{escaped errmsg}\"") > 7 (hook:first-warning "echo \"Got warning: #{escaped warnmsg}\"") > 8 (hook:value "echo \"Value hook activated: expected=#{expected}, measured=#{measu > 9 > 10 ;; first ensure your run at least started > 11 ;; > 12 (trigger "Init" #/This is a header/) > 13 (trigger "InitEnd" #/^\s*$/) > 14 (section "Init" "Init" "InitEnd") > 15 > 16 (trigger "Body" #/^.*$/) ;; anything starts the body > 17 ;; (trigger "EndBody" #/This had better never match/) > 18 > 19 (section "Body" "Body" "EndBody") > 20 > 21 (trigger "Blah2" #/^begin Blah2/) > 22 (trigger "Blah2End" #/^end Blah2/) > 23 (section "Blah2" "Blah2" "Blah2End") > 24 > 25 (expect:required in "Init" = 1 "Header" #/This is a header/) > 26 (expect:required in "LogFileBody" > 0 "Something required but not found" #/This > 27 (expect:value in "LogFileBody" 1.9 0.1 "Output voltage" #/Measured voltage ou > 28 (expect:value in "LogFileBody" 0.5 0.1 "Output current" #/Measured output cur > 29 (expect:value in "LogFileBody" 110e9 2e9 "A big number (first)" #/Freq:\s*([\ > 30 (expect:value in "LogFileBody" 110e9 1e9 "A big number (second), hook not cal > 31 (expect:value in "LogFileBody" 110e9 1e9 "A big number (never activated)" #/F > 32 > 33 ;; Using match number > 34 (expect:value in "LogFileBody" 1.9 0.1 "Time Voltage" #/out: (\d+)\s+(\d+)/ m > 35 > 36 ;; Comparison instead of tolerance > 37 (expect:value in "LogFileBody" 1.9 > "Time voltage" #/out: (\d+)\s+(\d+)/ m > 38 > 39 (expect:ignore in "Blah2" < 99 "FALSE ERROR" #/ERROR/) > 40 (expect:ignore in "Body" < 99 "Ignore the word error in comments" #/^\/\/.*er > 41 (expect:warning in "Body" = 0 "Any warning" #/WARNING/) > 42 (expect:error in "Body" = 0 "ERROR BLAH" (list #/ERROR/ #/error/)) ;; but d > 43 > 44 ;(expect in "Init" < 1 "Junk" #/This is bogus/)

Added tests/tests/ezlog_pass/lookittmp.logpro version [1d9c0ef873fc449b]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 > 6 (expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) > 7 > 8 (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\ > 9 (expect:warning in "LogFileBody" = 0 "Any warning" #/WARNING/) > 10 (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;;

Added tests/tests/ezlog_pass/testconfig version [13eb33bb909175be]

> 1 [setup] > 2 > 3 [ezsteps] > 4 lookittmp ls /tmp > 5 lookithome ls /home > 6 > 7 [test_meta] > 8 author matt > 9 owner bob > 10 description This test runs a single ezstep which is expected to pass using a sim > 11 > 12 tags first,single > 13 reviewed 09/10/2011, by Matt

Added tests/tests/ezlog_warn/lookithome.logpro version [73a7d8a9dba01e3a]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 > 6 ;;(expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) > 7 > 8 (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\ > 9 ;; Force a warn for this test > 10 (expect:warning in "LogFileBody" = 0 "Any warning" #/.*/) > 11 (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;;

Added tests/tests/ezlog_warn/lookittmp.logpro version [1d9c0ef873fc449b]

> 1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com > 2 ;; > 3 ;; License GPL. > 4 > 5 > 6 (expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) > 7 > 8 (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\ > 9 (expect:warning in "LogFileBody" = 0 "Any warning" #/WARNING/) > 10 (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;;

Added tests/tests/ezlog_warn/testconfig version [96f73c85f94dd407]

> 1 [setup] > 2 > 3 [ezsteps] > 4 lookittmp ls /tmp > 5 lookithome ls /home;echo warn > 6 > 7 [test_meta] > 8 author matt > 9 owner bob > 10 description This test runs a single ezstep which is expected to pass using a sim > 11 > 12 tags first,single > 13 reviewed 09/10/2011, by Matt

Deleted tests/tests/eztest_fail/testconfig version [0f917c7dd3f06e48]

1 [setup] < 2 < 3 [requirements] < 4 priority 10 < 5 < 6 [ezsteps] < 7 lookittmp ls /tmp < 8 lookithome ls /home < 9 lookitnada ls /nada < 10 lookitusr ls /usr < 11 < 12 [test_meta] < 13 author matt < 14 owner bob < 15 description This test runs a single ezstep which is expected to pass, no logpro < 16 < 17 tags first,single < 18 reviewed 09/10/2011, by Matt <

Deleted tests/tests/eztest_logpro/lookittmp.logpro version [1d9c0ef873fc449b]

1 ;; (c) 2006,2007,2008,2009 Matthew Welland matt@kiatoa.com < 2 ;; < 3 ;; License GPL. < 4 < 5 < 6 (expect:required in "LogFileBody" > 0 "Must be some files in the dir" #/.*/) < 7 < 8 (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\ < 9 (expect:warning in "LogFileBody" = 0 "Any warning" #/WARNING/) < 10 (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;; <

Deleted tests/tests/eztest_logpro/testconfig version [13eb33bb909175be]

1 [setup] < 2 < 3 [ezsteps] < 4 lookittmp ls /tmp < 5 lookithome ls /home < 6 < 7 [test_meta] < 8 author matt < 9 owner bob < 10 description This test runs a single ezstep which is expected to pass using a sim < 11 < 12 tags first,single < 13 reviewed 09/10/2011, by Matt <

Deleted tests/tests/eztest_pass/testconfig version [55e83172e9b4587f]

1 [setup] < 2 < 3 [ezsteps] < 4 lookittmp ls /tmp < 5 lookithome ls /home < 6 < 7 [test_meta] < 8 author matt < 9 owner bob < 10 description This test runs a single ezstep which is expected to pass, no logpro < 11 < 12 tags first,single < 13 reviewed 09/10/2011, by Matt <

Modified tests/tests/sqlitespeed/testconfig from [4da0db799e7eb134] to [a64305aaab1b8f88].

2 runscript runscript.rb 2 runscript runscript.rb 3 tags non important,dumb junk 3 tags non important,dumb junk 4 4 5 [requirements] 5 [requirements] 6 waiton runfirst 6 waiton runfirst 7 7 8 [items] 8 [items] 9 MANYITEMS [system (env > envfile.txt;echo aa ab ac ad ae af ag ah ai aj ak al am | 9 MANYITEMS [system (env > envfile.txt;echo aa ab ac ad ae af ag ah ai)] 10 # BORKED 10 # BORKED 11 11