summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Whipple <tw@tomwhipple.com>2006-07-28 23:08:08 +0000
committerTom Whipple <tw@tomwhipple.com>2006-07-28 23:08:08 +0000
commite46b53119bf751b6fe73a92d408ba50a3130a6b2 (patch)
treeb20516775cfbede3b1ee0eeb398906f0ed0e2cda
parentaaf40043a4a2c0b73953a42c1108be835b9b8595 (diff)
file cleanup
-rw-r--r--portland/xdg-utils/tests/xdg-mime/data/textplain.expected1
-rw-r--r--portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected1
-rwxr-xr-xportland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall8
3 files changed, 6 insertions, 4 deletions
diff --git a/portland/xdg-utils/tests/xdg-mime/data/textplain.expected b/portland/xdg-utils/tests/xdg-mime/data/textplain.expected
deleted file mode 100644
index e70108f..0000000
--- a/portland/xdg-utils/tests/xdg-mime/data/textplain.expected
+++ /dev/null
@@ -1 +0,0 @@
-text/plain
diff --git a/portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected b/portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected
deleted file mode 100644
index fc53e80..0000000
--- a/portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected
+++ /dev/null
@@ -1 +0,0 @@
-text/x-xdg-testpattern
diff --git a/portland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall b/portland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall
index 0bbf6dd..1a25480 100755
--- a/portland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall
+++ b/portland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall
@@ -2,7 +2,6 @@
## Include utility functions.
. "$XDG_TEST_DIR/include/testassertions.sh"
-
. "$XDG_TEST_DIR/include/testcontrol.sh"
## Test function
@@ -26,6 +25,11 @@ echo "text/$TEST_MIME" >testmime.expected
echo "Some text." >testfile.xdgtest
assert_file testfile.xdgtest
+# TODO: query requires a desktop environment
+#assert_exit 0 xdg-mime query filetipe testfile.xdgtest
+#assert_stdout
+#mv out.stout out.save
+
# Install & verify mime type is installed
assert_exit 0 xdg-mime install --system "$INPUT_FILE"
@@ -42,7 +46,7 @@ assert_nostderr
## Verify uninstall
#assert_exit 0 xdg-mime query filetype $QUERY_FILE
-#assert_stdout "$XDG_TEST_DIR/xdg-mime/data/textplain.expected"
+#assert_stdout out.save
test_result
}