aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChatChimi <Pichue07@gmail.com>2020-03-28 16:45:42 +0100
committerChatChimi <Pichue07@gmail.com>2020-03-28 16:45:42 +0100
commitb1425fdb9b19ea1efd5dc405fe746789a511e58f (patch)
tree1000c2898d4cc3fbd8183893ac8b48e661854d64
parent506db18260baefceded116bdfc6934eea0284428 (diff)
downloadATS-b1425fdb9b19ea1efd5dc405fe746789a511e58f.tar.gz
ATS-b1425fdb9b19ea1efd5dc405fe746789a511e58f.tar.bz2
ATS-b1425fdb9b19ea1efd5dc405fe746789a511e58f.zip
Update BDDauto.sh
Diffstat (limited to '')
-rwxr-xr-xautomatisation/BDDAuto.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/automatisation/BDDAuto.sh b/automatisation/BDDAuto.sh
index 3ec2490..61ff956 100755
--- a/automatisation/BDDAuto.sh
+++ b/automatisation/BDDAuto.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#cloner dans le repertoire personnel du root
+#exucuter en tant que root
cp /root/ATS-Project/web/website/init-bd.sql /tmp/table.sql #Car problème de droit root
@@ -14,4 +16,6 @@ echo "CREATE USER atsuser WITH PASSWORD '123456'; CREATE DATABASE atsdb; GRANT A
su - postgres -c "psql -f /tmp/conf"
-su - atsuser -c "psql -d atsdb -U atsuser -f /tmp/table.sql"
+
+pushd /tmp ; su atsuser -c "psql -d atsdb -U atsuser -f /tmp/table.sql" ; popd
+
td/> 2021-06-27Fixing conflictsmanthole2-0/+139 2021-06-27Latest maven, jacoco and javadoc filesClyhtsuriva47-313/+822 2021-06-27Catch exception related to search functionalitysaid belhadj4-3/+11 2021-06-27Delete TEST-musichub.business.CategoryTest.xmlSaid Belhadj1-58/+0 2021-06-27Add unit test for Category and Languagesaid belhadj4-0/+164 2021-06-27Update search functionalitysaid belhadj2-0/+8 2021-06-27Added an extension check for songs and covered it with a test.Clyhtsuriva65-77/+92 2021-06-27Fix : Javadoc missingClyhtsuriva80-0/+8465 2021-06-27PlayList class covered at 84%.Clyhtsuriva14-78/+117 2021-06-27Song class fully covered.Clyhtsuriva13-49/+96 2021-06-27Starting Song testsClyhtsuriva17-59/+119 2021-06-27Changed the log type for the JUnit test of LogHandlerClyhtsuriva5-26/+4 2021-06-27XMLHandler tests covered at 91%Clyhtsuriva93-7962/+82