diff --git a/Kitodo/src/test/java/org/kitodo/selenium/CalendarST.java b/Kitodo/src/test/java/org/kitodo/selenium/CalendarST.java index 01a0ee20ed9..f3372173b75 100644 --- a/Kitodo/src/test/java/org/kitodo/selenium/CalendarST.java +++ b/Kitodo/src/test/java/org/kitodo/selenium/CalendarST.java @@ -31,7 +31,6 @@ public class CalendarST extends BaseTestSelenium { private static ProcessesPage processesPage; private static CalendarPage calendarPage; - private static int newspaperTestProcessId = -1; @BeforeClass public static void setup() throws Exception { diff --git a/Kitodo/src/test/resources/metadata/10/meta.xml b/Kitodo/src/test/resources/metadata/10/meta.xml new file mode 100644 index 00000000000..aa3231aa5c3 --- /dev/null +++ b/Kitodo/src/test/resources/metadata/10/meta.xml @@ -0,0 +1,35 @@ + + + + + + + + + + I-5300 II,III,IV + + + + + + + +
+ + +
+ + + diff --git a/Kitodo/src/test/resources/metadata/9/meta.xml b/Kitodo/src/test/resources/metadata/9/meta.xml new file mode 100644 index 00000000000..055d31fc1fb --- /dev/null +++ b/Kitodo/src/test/resources/metadata/9/meta.xml @@ -0,0 +1,40 @@ + + + + + Kitodo - kitodo-ugh-3.0-SNAPSHOT - 18-April-2018 13:20:13 + Kitodo + + + + + + + Second process + Second + Proc + + + + + + + + + file:/2/images/Sec_Proc_tif + + + + + + + + + + + + + + diff --git a/Kitodo/src/test/resources/scripts/not_working_script.sh b/Kitodo/src/test/resources/scripts/not_working_script.sh new file mode 100755 index 00000000000..44a8c4df506 --- /dev/null +++ b/Kitodo/src/test/resources/scripts/not_working_script.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +# +# (c) Kitodo. Key to digital objects e. V. +# +# This file is part of the Kitodo project. +# +# It is licensed under GNU General Public License version 3 or later. +# +# For the full copyright and license information, please read the +# GPL3-License.txt file that was distributed with this source code. +# + + +Hello World diff --git a/Kitodo/src/test/resources/scripts/script_createDirUserHome.sh b/Kitodo/src/test/resources/scripts/script_createDirUserHome.sh new file mode 100755 index 00000000000..d5cf7b41dca --- /dev/null +++ b/Kitodo/src/test/resources/scripts/script_createDirUserHome.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# (c) Kitodo. Key to digital objects e. V. +# +# This file is part of the Kitodo project. +# +# It is licensed under GNU General Public License version 3 or later. +# +# For the full copyright and license information, please read the +# GPL3-License.txt file that was distributed with this source code. +# + +# +# Note: Ensure that Tomcat has permission to execute the given commands. +# + +User="$1" +Home="$2" + +/bin/mkdir "$Home" +/bin/chmod g+w "$Home"