Skip to content

Commit

Permalink
use package require instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bovine committed Oct 29, 2010
1 parent 6f6ef3d commit d9ec439
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/all.tcl
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@

load ./memcache[info sharedlibextension]
package require Memcache
#load ./memcache[info sharedlibextension]

memcache server add localhost 11211
memcache set moo "cows go moo"
memcache get moo value
puts "value=$value!\n";
if {$value != "cows go moo"} {
puts "Error. value=$value!\n";
exit 1
}

puts "Success"
exit 0

0 comments on commit d9ec439

Please sign in to comment.