aboutsummaryrefslogtreecommitdiff
path: root/dists
diff options
context:
space:
mode:
authorNeeraj Kumar2010-06-22 14:39:51 +0000
committerNeeraj Kumar2010-06-22 14:39:51 +0000
commit0012b23e8471135c7c5dcff5311db60c0164a881 (patch)
treeac2f0dd9ffd5bd8e05bd3be5d17a560b333ef916 /dists
parente86f732a7b67b6df6d78000d0f34ca8013b93b46 (diff)
downloadscummvm-rg350-0012b23e8471135c7c5dcff5311db60c0164a881.tar.gz
scummvm-rg350-0012b23e8471135c7c5dcff5311db60c0164a881.tar.bz2
scummvm-rg350-0012b23e8471135c7c5dcff5311db60c0164a881.zip
modified the filesystem test, added a script to directly create the game-data-directory, no zip file required
svn-id: r50140
Diffstat (limited to 'dists')
-rwxr-xr-xdists/engine-data/create-testbed-data.sh48
-rwxr-xr-xdists/engine-data/createGameData4
-rw-r--r--dists/engine-data/testbed.zipbin998 -> 0 bytes
3 files changed, 48 insertions, 4 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..1ed6c733b5
--- /dev/null
+++ b/dists/engine-data/create-testbed-data.sh
@@ -0,0 +1,48 @@
+#!/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 ..
+echo "Game data created"
diff --git a/dists/engine-data/createGameData b/dists/engine-data/createGameData
deleted file mode 100755
index 8a3cabe0c3..0000000000
--- a/dists/engine-data/createGameData
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-unzip testbed.zip
-mv testbed/testbed_mixed_case testbed/TeStBeD
diff --git a/dists/engine-data/testbed.zip b/dists/engine-data/testbed.zip
deleted file mode 100644
index 33e1a83ab5..0000000000
--- a/dists/engine-data/testbed.zip
+++ /dev/null
Binary files differ