Silly question, but is prepare-env.sh executable? On Wed, Aug 23, 2017 at 3:05 AM Sam <[email protected]> wrote:
> Hi all, > > I'm testing, I add a new at file, and in that file, I run another shell > script like this: > > AT_SETUP([vhost - run prepare-env.sh]) > > #OVS_VSWITCHD_START > > # No need to create, as bond1 has been created. > > echo "@@@@@@@@@@@@@@@@@" > > /root/gangyewei/mvs/mvs/tests/prepare-env.sh > > AT_CHECK([echo "############"]) > > AT_CHECK([/root/gangyewei/mvs/mvs/tests/prepare_env], [0], [stdout]) > > #OVS_VSWITCHD_STOP > > AT_CLEANUP > > > I use root to run the tests, But the log show me permission error, how to > fix this bug and how to run shell script in at file? > > # -*- compilation -*- > > 1. vhost.at:23: testing vhost - run prepare-env.sh ... > > @@@@@@@@@@@@@@@@@ > > /root/gangyewei/mvs/mvs/tests/testsuite.dir/at-groups/1/test-source: line > > 12: /root/gangyewei/mvs/mvs/tests/prepare-env.sh: Permission denied > > ./vhost.at:30: echo "############" > > --- /dev/null 2017-02-21 23:39:22.882000049 +0800 > > +++ /root/gangyewei/mvs/mvs/tests/testsuite.dir/at-groups/1/stdout > > 2017-08-23 15:43:29.348993538 +0800 > > @@ -0,0 +1 @@ > > +############ > > 1. vhost.at:23: 1. vhost - run prepare-env.sh (vhost.at:23): FAILED ( > > vhost.at:30) > > > Thank you~ > _______________________________________________ > dev mailing list > [email protected] > https://mail.openvswitch.org/mailman/listinfo/ovs-dev > _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
