aboutsummaryrefslogtreecommitdiff
path: root/dists/engine-data
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-12 08:08:37 +0000
committerEugene Sandulenko2010-09-12 08:08:37 +0000
commit74118a70878f0b6efcba73f8410a7f661949bcf6 (patch)
treea4c22ffcbb86fbad22b50c5b4a6405a60920be0b /dists/engine-data
parent6bc9340df55d05ad7aa6b14348a567304ff41cc7 (diff)
parenta4a28eb16e3f2c9d1f4e79120b359821d731eecf (diff)
downloadscummvm-rg350-74118a70878f0b6efcba73f8410a7f661949bcf6.tar.gz
scummvm-rg350-74118a70878f0b6efcba73f8410a7f661949bcf6.tar.bz2
scummvm-rg350-74118a70878f0b6efcba73f8410a7f661949bcf6.zip
TESTBED: Merge gsoc2010-testbed branch
svn-id: r52681
Diffstat (limited to 'dists/engine-data')
-rwxr-xr-xdists/engine-data/create-testbed-data.sh52
-rwxr-xr-xdists/engine-data/testbed-audiocd-files/track01.mp3bin0 -> 15300 bytes
-rwxr-xr-xdists/engine-data/testbed-audiocd-files/track02.mp3bin0 -> 15927 bytes
-rwxr-xr-xdists/engine-data/testbed-audiocd-files/track03.mp3bin0 -> 11389 bytes
-rwxr-xr-xdists/engine-data/testbed-audiocd-files/track04.mp3bin0 -> 16136 bytes
5 files changed, 52 insertions, 0 deletions
diff --git a/dists/engine-data/create-testbed-data.sh b/dists/engine-data/create-testbed-data.sh
new file mode 100755
index 0000000000..0200803caa
--- /dev/null
+++ b/dists/engine-data/create-testbed-data.sh
@@ -0,0 +1,52 @@
+#!/bin/sh
+
+# Create the directory structure
+# Avoided bash shortcuts / file-seperators in interest of portability
+
+if [ -e testbed ]; then
+ echo "Game-data already present as testbed/"
+ echo "To regenerate, remove and rerun"
+ exit 0
+fi
+
+mkdir testbed
+
+cd testbed
+
+# For game detection
+echo "ScummVM rocks!" > TESTBED
+
+mkdir test1
+mkdir Test2
+mkdir TEST3
+mkdir tEST4
+mkdir test5
+
+
+cd test1
+echo "It works!" > file.txt
+cd ..
+
+cd Test2
+echo "It works!" > File.txt
+cd ..
+
+cd TEST3
+echo "It works!" > FILE.txt
+cd ..
+
+cd tEST4
+echo "It works!" > fILe.txt
+cd ..
+
+cd test5
+echo "It works!" > file.
+cd ..
+
+# back to the top
+cd ..
+
+# move the audiocd data to newly created directory
+cp -r testbed-audiocd-files testbed/audiocd-files
+
+echo "Game data created"
diff --git a/dists/engine-data/testbed-audiocd-files/track01.mp3 b/dists/engine-data/testbed-audiocd-files/track01.mp3
new file mode 100755
index 0000000000..53d057ee96
--- /dev/null
+++ b/dists/engine-data/testbed-audiocd-files/track01.mp3
Binary files differ
diff --git a/dists/engine-data/testbed-audiocd-files/track02.mp3 b/dists/engine-data/testbed-audiocd-files/track02.mp3
new file mode 100755
index 0000000000..daf8e4860d
--- /dev/null
+++ b/dists/engine-data/testbed-audiocd-files/track02.mp3
Binary files differ
diff --git a/dists/engine-data/testbed-audiocd-files/track03.mp3 b/dists/engine-data/testbed-audiocd-files/track03.mp3
new file mode 100755
index 0000000000..1ef385d640
--- /dev/null
+++ b/dists/engine-data/testbed-audiocd-files/track03.mp3
Binary files differ
diff --git a/dists/engine-data/testbed-audiocd-files/track04.mp3 b/dists/engine-data/testbed-audiocd-files/track04.mp3
new file mode 100755
index 0000000000..7607087f08
--- /dev/null
+++ b/dists/engine-data/testbed-audiocd-files/track04.mp3
Binary files differ