summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWaldo Bastian <waldo.bastian@intel.com>2006-09-10 23:18:49 +0000
committerWaldo Bastian <waldo.bastian@intel.com>2006-09-10 23:18:49 +0000
commitca93b77473f22a98d63d882622bb771683594558 (patch)
treebc526943d1b61d2ca4d58b0762fabd586e8e509a /tests
parent617f74ea178272f9134c6eede4f6083405072186 (diff)
Make test more reliable
Diffstat (limited to 'tests')
-rw-r--r--tests/xdg-utils-usecases/data/testfilebin0 -> 1024 bytes
-rwxr-xr-xtests/xdg-utils-usecases/t.10-file_icon2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/xdg-utils-usecases/data/testfile b/tests/xdg-utils-usecases/data/testfile
new file mode 100644
index 0000000..5f6e649
--- /dev/null
+++ b/tests/xdg-utils-usecases/data/testfile
Binary files differ
diff --git a/tests/xdg-utils-usecases/t.10-file_icon b/tests/xdg-utils-usecases/t.10-file_icon
index 2f6e5c3..27fc0bc 100755
--- a/tests/xdg-utils-usecases/t.10-file_icon
+++ b/tests/xdg-utils-usecases/t.10-file_icon
@@ -40,7 +40,7 @@ assert_exit 0 xdg-mime install "$MIME_FILE"
assert_nostdout
assert_nostderr
-echo "Some text" >"$TEST_DIR/$TEST_FILE"
+cp "$XDG_TEST_DIR/xdg-utils-usecases/data/testfile" "$TEST_DIR/$TEST_FILE"
# open directory with test file
if [ `whoami` != 'root' ] ; then