Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
fix test on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Jul 18, 2009
1 parent 12b5c4c commit 768e3aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/lfs.t
Expand Up @@ -23,6 +23,7 @@ use lib "$FindBin::Bin/../../../lib", "$FindBin::Bin";
use Parrot::Test tests => 18;
use Test::More;
use File::Spec;
use Cwd qw(realpath);
use Parrot::Test::Lua;

my $test_prog = Parrot::Test::Lua::get_test_prog();
Expand All @@ -36,7 +37,7 @@ table
LuaFileSystem 1.4.0
OUT

my $cwd = File::Spec->canonpath( "$FindBin::Bin/../../../" );
my $cwd = File::Spec->canonpath( realpath( "$FindBin::Bin/../../../" ) );
language_output_is( 'lua', << 'CODE', << "OUT", 'function lfs.currentdir' );
require "lfs"
print(lfs.currentdir())
Expand Down

0 comments on commit 768e3aa

Please sign in to comment.