diff options
author | Neeraj Kumar | 2010-06-22 14:39:51 +0000 |
---|---|---|
committer | Neeraj Kumar | 2010-06-22 14:39:51 +0000 |
commit | 0012b23e8471135c7c5dcff5311db60c0164a881 (patch) | |
tree | ac2f0dd9ffd5bd8e05bd3be5d17a560b333ef916 /dists | |
parent | e86f732a7b67b6df6d78000d0f34ca8013b93b46 (diff) | |
download | scummvm-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-x | dists/engine-data/create-testbed-data.sh | 48 | ||||
-rwxr-xr-x | dists/engine-data/createGameData | 4 | ||||
-rw-r--r-- | dists/engine-data/testbed.zip | bin | 998 -> 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 Binary files differdeleted file mode 100644 index 33e1a83ab5..0000000000 --- a/dists/engine-data/testbed.zip +++ /dev/null |