Fix up path issues with vtest+
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
#!/bin/bash -ie
|
#!/bin/bash -ie
|
||||||
# simple test harness for testing mgmt via omv
|
# simple test harness for testing mgmt via omv
|
||||||
|
CWD=`pwd`
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir!
|
||||||
|
cd "$DIR" >/dev/null # work from test directory
|
||||||
|
|
||||||
|
# vtest+ tests
|
||||||
vtest+ omv/helloworld.yaml
|
vtest+ omv/helloworld.yaml
|
||||||
|
|
||||||
|
# return to original dir
|
||||||
|
cd "$CWD" >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user