Well... change FAKEROOT from /tmp to /home
This commit is contained in:
parent
704d3d20a7
commit
888309f420
|
@ -41,7 +41,7 @@
|
||||||
LARGE_FILESET_URL="http://www.netpower.fr/sites/default/files/osync-test-files.tar.gz"
|
LARGE_FILESET_URL="http://www.netpower.fr/sites/default/files/osync-test-files.tar.gz"
|
||||||
|
|
||||||
# Fakeroot for install / uninstall and test of executables
|
# Fakeroot for install / uninstall and test of executables
|
||||||
FAKEROOT="/tmp/osync_test_install"
|
FAKEROOT="${HOME}/osync_test_install"
|
||||||
|
|
||||||
OSYNC_DIR="$(pwd)"
|
OSYNC_DIR="$(pwd)"
|
||||||
OSYNC_DIR=${OSYNC_DIR%%/dev*}
|
OSYNC_DIR=${OSYNC_DIR%%/dev*}
|
||||||
|
@ -305,13 +305,13 @@ function test_Merge () {
|
||||||
# Set osync version to stable while testing to avoid warning message
|
# Set osync version to stable while testing to avoid warning message
|
||||||
# Don't use SetConfFileValue here since for whatever reason Travis does not like creating a sed temporary file in $FAKEROOT
|
# Don't use SetConfFileValue here since for whatever reason Travis does not like creating a sed temporary file in $FAKEROOT
|
||||||
|
|
||||||
if [ "$TRAVIS_RUN" == true ]; then
|
#if [ "$TRAVIS_RUN" == true ]; then
|
||||||
$SUDO_CMD sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
# $SUDO_CMD sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||||
else
|
#else
|
||||||
sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
# sed -i.tmp 's/^IS_STABLE=.*/IS_STABLE=yes/' "$OSYNC_EXECUTABLE"
|
||||||
fi
|
#fi
|
||||||
head -n 20 $OSYNC_EXECUTABLE
|
#head -n 20 $OSYNC_EXECUTABLE
|
||||||
#SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes"
|
SetConfFileValue "$OSYNC_EXECUTABLE" "IS_STABLE" "yes"
|
||||||
|
|
||||||
|
|
||||||
assertEquals "Install failed" "0" $?
|
assertEquals "Install failed" "0" $?
|
||||||
|
|
Loading…
Reference in New Issue