launch them with sh as the prefix on the cli, eg

sh foo.sh

and not

foo.sh

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 26 Jan 2011 15:36, "Oliver Schrenk" <[email protected]> wrote:
> Hi,
>
> I have several shell scripts in src/test/resources that I try to call from
within a JUnit test. The class under test is a wrapper arround
plexus.utils.cli.
>
> When mvn copies the files to target/test-classes the executable bits are
lost and the test fails due missing authorization.
>
> Any way to keep them? Or any other ideas?
>
> Best regards
> Oliver Schrenk
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to