From e46b53119bf751b6fe73a92d408ba50a3130a6b2 Mon Sep 17 00:00:00 2001 From: Tom Whipple Date: Fri, 28 Jul 2006 23:08:08 +0000 Subject: file cleanup --- portland/xdg-utils/tests/xdg-mime/data/textplain.expected | 1 - portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected | 1 - portland/xdg-utils/tests/xdg-mime/t.21-system_mime_uninstall | 8 ++++++-- 3 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 portland/xdg-utils/tests/xdg-mime/data/textplain.expected delete mode 100644 portland/xdg-utils/tests/xdg-mime/data/textxdgpattern.expected 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 } -- cgit v1.2.3