diff options
author | Adam Frisby | 2008-03-25 16:29:54 +0000 |
---|---|---|
committer | Adam Frisby | 2008-03-25 16:29:54 +0000 |
commit | 8c05b81d6860d8e0da4098cc6f59f630d7c53037 (patch) | |
tree | 3325e09660ee8ad5a12cc19c8da6c4bd8bff5c21 /share/perl/test/SingleTest.pl | |
parent | * On Ray casting. Now returning the face normal of the collision face. (diff) | |
download | opensim-SC-8c05b81d6860d8e0da4098cc6f59f630d7c53037.zip opensim-SC-8c05b81d6860d8e0da4098cc6f59f630d7c53037.tar.gz opensim-SC-8c05b81d6860d8e0da4098cc6f59f630d7c53037.tar.bz2 opensim-SC-8c05b81d6860d8e0da4098cc6f59f630d7c53037.tar.xz |
* Committing Lulurun's Cgi/Perl implementation of the UGAI servers.
* I love you long time.
Diffstat (limited to '')
-rw-r--r-- | share/perl/test/SingleTest.pl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/perl/test/SingleTest.pl b/share/perl/test/SingleTest.pl new file mode 100644 index 0000000..e6be081 --- /dev/null +++ b/share/perl/test/SingleTest.pl | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/usr/bin/perl | ||
2 | |||
3 | # usage: | ||
4 | # ./SingleTest.pl $URL $METHOD @PARAMETERS | ||
5 | # example | ||
6 | # ./SingleTest.pl http://127.0.0.1/user.cgi get_user_by_name "Test User" | ||
7 | # ./SingleTest.pl http://127.0.0.1/grid.cgi simulator_login 3507f395-88e5-468c-a45f-d4fd96a1c668 10.8.1.148 9000 | ||
8 | # ./SingleTest.pl http://127.0.0.1/grid.cgi map_block 999 999 1001 1001 | ||
9 | # ./SingleTest.pl http://127.0.0.1/asset.cgi get_asset 00000000000022223333000000000001 | ||
10 | # | ||
11 | |||
12 | use strict; | ||
13 | use Data::Dump; | ||
14 | use OpenSimTest; | ||
15 | |||
16 | &OpenSimTest::init(); | ||
17 | my $url = shift @ARGV; | ||
18 | #my $url = "http://localhost:8002"; | ||
19 | my $result = &OpenSimTest::SingleTest($url, @ARGV); | ||
20 | Data::Dump::dump($result); | ||
21 | |||