3 # Copyright (C) 2006, The Perl Foundation.
8 use lib qw(tcl/lib ./lib ../lib ../../lib ../../../lib);
10 use Parrot::Test tests => 3;
12 use File::Temp qw(tempdir);
16 language_output_is( "tcl", <<'TCL', <<OUT, "cd too many args" );
19 wrong # args: should be "cd ?dirName?"
22 ## tclsh on windows shows unix slashies, so use unix canonpath to get them
23 my $homedir = File::Spec::Unix->canonpath( $ENV{HOME} );
27 $TODO = 'pwd is broken on windows' if $^O eq 'MSWin32';
29 language_output_is( "tcl", <<'TCL', <<"OUT", "cd home" );
38 my $testdir = tempdir( CLEANUP => 1 );
39 my $expdir = File::Spec->canonpath( abs_path($testdir) );
40 $^O eq 'MSWin32' and $testdir =~ s/\\/\\\\/g;
41 language_output_is( "tcl", <<"TCL", <<"OUT", "cd home" );
51 # cperl-indent-level: 4
54 # vim: expandtab shiftwidth=4: