source: gs3-installations/test-suite/trunk/sites/test-suite/collect/testing-filelevel-docver/FILELEVEL-DOCVER-TEST-STEP1.sh@ 37175

Last change on this file since 37175 was 37175, checked in by davidb, 15 months ago

A collection that helps test file-level document-version history

  • Property svn:executable set to *
File size: 834 bytes
Line 
1#!/bin/bash
2
3echo ""
4
5#if [ -d archives_keepold ] ; then
6#
7# echo "****"
8# echo "Removing directory: archives_keepold"
9# echo "****"
10# /bin/rm -rf archives_keepold
11#fi
12
13echo "****"
14echo "Restoring import files back to original form"
15echo "... and Initiating full rebuild"
16echo "****"
17
18echo ""
19echo "Reverting txt and img file back to original version:"
20
21echo " import/10/text/10_1_1_1.txt"
22/bin/cp testing-files/10_1_1_1.txt import/10/text/10_1_1_1.txt
23
24echo " import/10/images/10_1_1_1.gif"
25/bin/cp testing-files/10_1_1_1.gif import/10/images/10_1_1_1.gif
26echo ""
27
28if [ ! -d import/23 ] ; then
29 echo ""
30 echo "Restoring directory import/23"
31 /bin/cp -r testing-files/23 import/.
32fi
33
34if [ -d cached ] ; then
35 echo ""
36 echo "Removeing collection cache"
37 /bin/rm -rf cached
38fi
39
40./FULL-REBUILD.sh
Note: See TracBrowser for help on using the repository browser.