5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am testing shc to see if it would help with my need.
Im at a point where Im trying to compile and test the "test.ksh" file that comes in the tar ball :
shc-3.8.9> shc -v -r -f test.ksh
shc shll=ksh
shc =-c
shc =exec '%s' "$@"
shc =
shc opts=
shc: cc test.ksh.x.c -o test.ksh.x... (7 Replies)
Discussion started by: popeye
7 Replies
2. Shell Programming and Scripting
Hi,
I have a Python unit test cases source code file which contains more than a hundred test case methods. In that, some of the test case methods already have prefix 'test' where as some of them do not have. Now, I need to add the string 'test' (case-sensitive) as a prefix to those of the... (5 Replies)
Discussion started by: royalibrahim
5 Replies
3. Shell Programming and Scripting
How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies
4. Shell Programming and Scripting
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Discussion started by: Max89
1 Replies
5. Solaris
i am using solaris 5.10. i can create two different files "test" and ".test" in the same directory. now suppose i want to change the attribute of the hidden file .test to visible is it possible???
since "." is just an attribute to mark a file hidden why is unix allows creation of "file" and... (14 Replies)
Discussion started by: vikashtulsiyan
14 Replies
LEARN ABOUT DEBIAN
test::indistdir
Test::InDistDir(3pm) User Contributed Perl Documentation Test::InDistDir(3pm)
NAME
Test::InDistDir - test environment setup for development with IDE
VERSION
version 1.112071
SYNOPSIS
use Test::More;
use Test::InDistDir;
# when this is run from inside t/ with a default @INC, it will now be in the
# dist dir and include ./lib in @INC
DESCRIPTION
This module helps run test scripts in IDEs like Komodo.
When running test scripts in an IDE i have to set up a project file defining the dist dir to run tests in and a lib dir to load additional
modules from. Often I didn't feel like doing that, especially when i only wanted to do a small patch to a dist. In those cases i added a
BEGIN block to mangle the environment for me.
This module basically is that BEGIN block. It automatically moves up one directory when it cannot see the test script in "t/$scriptname"
and includes 'lib' in @INC when there's no blib present. That way the test ends up with almost the same environment it'd get from
EUMM/prove/etc., even when it's actually run inside the t/ directory.
At the same time it will still function correctly when called by EUMM/prove/etc., since it does not change the environment in those cases.
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests by email to "bug-test-indistdir at rt.cpan.org", or through the web interface at
http://rt.cpan.org/Public/Dist/Display.html?Name=Test-InDistDir <http://rt.cpan.org/Public/Dist/Display.html?Name=Test-InDistDir>. You will
be automatically notified of any progress on the request by the system.
Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license.
https://github.com/wchristian/Test-InDistDir <https://github.com/wchristian/Test-InDistDir>
git clone https://github.com/wchristian/Test-InDistDir
AUTHOR
Christian Walde <walde.christian@googlemail.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2011 by Christian Walde.
This is free software, licensed under:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004
perl v5.12.4 2011-07-26 Test::InDistDir(3pm)