test/test_physfs.rb
author Ryan C. Gordon <icculus@icculus.org>
Fri, 01 Jun 2012 05:44:50 -0400
changeset 1283 8bcc48d243df
parent 1242 1e6db80d2393
permissions -rwxr-xr-x
Added Zip64 support to the .zip archiver. Now we can handle .zip files > 4 gigabytes, etc.

#!/usr/bin/ruby

require 'physfs'

puts "testing PhysicsFS Ruby bindings..."
puts "init..."

Physfs.init($0)

puts "user dir: " + Physfs.getUserDir()
puts "base dir: " + Physfs.getBaseDir()
puts "pref dir: " + Physfs.getPrefDir("icculus.org", "test_physfs")

puts "deinit..."
Physfs.deinit()

puts "done!"
exit(0)