summaryrefslogtreecommitdiffstats
path: root/build/integration/run.sh
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-03-22 18:00:12 +0100
committerRobin Appelman <robin@icewind.nl>2017-03-22 18:00:12 +0100
commit1e707ef1db10f3d399099ee4ab1ef10f0531eac5 (patch)
tree39999e8ffaec25e807085dd467dffdee33f21dd6 /build/integration/run.sh
parent714f198a5ddf66a813c82d77f400f27d7deebe51 (diff)
downloadnextcloud-server-1e707ef1db10f3d399099ee4ab1ef10f0531eac5.tar.gz
nextcloud-server-1e707ef1db10f3d399099ee4ab1ef10f0531eac5.zip
add integration test to ensure that shares dont overwrite external storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'build/integration/run.sh')
-rwxr-xr-xbuild/integration/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/run.sh b/build/integration/run.sh
index 83600d8323e..f423c3e6fb7 100755
--- a/build/integration/run.sh
+++ b/build/integration/run.sh
@@ -46,7 +46,7 @@ if [ "$INSTALLED" == "true" ]; then
mkdir -p work/local_storage
OUTPUT_CREATE_STORAGE=`$OCC files_external:create local_storage local null::null -c datadir=./build/integration/work/local_storage`
- ID_STORAGE=`echo $OUTPUT_CREATE_STORAGE | awk {'print $5'}`
+ ID_STORAGE=`echo $OUTPUT_CREATE_STORAGE | tr ' ' '\n' | tail -n1`
$OCC files_external:option $ID_STORAGE enable_sharing true