Summary: | ubuntu 6.06 - kde - 3 tests failed, 96 of 101 tests passed. (132 attempted) | ||
---|---|---|---|
Product: | Portland | Reporter: | opsi <juan> |
Component: | test-report | Assignee: | Waldo Bastian <waldo.bastian> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | beta2 | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 23105 |
Description
opsi
2006-08-02 03:52:10 UTC
Some tests asked me to run them as a normal user and supposedly it should ask for my root password, but: 1) I use kubuntu wich uses sudo nor su to run tasks as root, so I dont have root's password set. 2) Anyway, if I had root's password set, the test tries to use a not valid flag for the su command: opsi@halley:~/xdg-utils-1.0beta2/tests$ ./testrun WARNING: guessed XDG_TEST_DIR to be /home/opsi/xdg-utils-1.0beta2/tests Please enter the root password for system tests. su: invalid option -- l Usage: su [OPTS] [-] [username [ARGS]] - make this a login shell -c, --command=<command> pass command to the invoked shell using its -c option -m, -p, --preserve-environment do not reset environment variables, and keep the same shell -s, --shell=<shell> use shell instead of the default in /etc/passwd generic_bogus_arg-1-1: PASS [...] Problem analysis: * Menu installation failed stderr:xdg-desktop-menu: No writable system menu directory found. * Mimetype installation failed stderr:/home/opsi/xdg-utils-1.0beta2/tests/../scripts/xdg-mime: line 933: xsltproc: orden no encontrada (xsltproc not found) * Mimetype uninstallation failed (same reason) Juan, Can you provide me with the following output: echo $XDG_CONFIG_DIRS ls -al /etc/xdg/menus/ Do you have a xsltproc binary anywhere on your system? Can you find out if there is a package that provides it, that hasn't been installed? Hi, > Can you provide me with the following output: > echo $XDG_CONFIG_DIRS > ls -al /etc/xdg/menus/ For some odd reason the XDG_CONFIG_DIRS environment var is not set (in fact no one of the defined in http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html#variables is set). opsi@halley:~$ ls -al /etc/xdg/menus/ total 56 drwxr-xr-x 3 root root 4096 2006-08-02 23:41 . drwxr-xr-x 3 root root 4096 2006-04-26 21:41 .. -rw-r--r-- 1 root root 3981 2006-07-30 20:06 applications.menu -rw-r--r-- 1 root root 10617 2006-05-04 19:39 kde-applications.menu drwxr-xr-x 2 root root 4096 2006-06-16 19:16 kde-applications-merged -rw-r--r-- 1 root root 279 2005-09-10 10:25 kde-information.menu -rw-r--r-- 1 root root 288 2005-09-10 10:25 kde-screensavers.menu -rw-r--r-- 1 root root 2158 2005-09-10 10:25 kde-settings.menu -rw-r--r-- 1 root root 1203 2006-04-13 16:46 preferences.menu -rw-r--r-- 1 root root 1003 2006-04-13 16:45 settings.menu -rw-r--r-- 1 root root 8150 2006-05-12 15:06 system-settings.menu > > Do you have a xsltproc binary anywhere on your system? Can you find out if > there is a package that provides it, that hasn't been installed? I didn't have it installed before, but I've installed it now and will send new test results tomorrow. Cheers (In reply to comment #1) > 1) I use kubuntu wich uses sudo nor su to run tasks as root, so I dont have > root's password set. The test runner now tries to run via sudo, provided sudo is in the PATH. (Does "sudo su - -c testrun ...") > 2) Anyway, if I had root's password set, the test tries to use a not valid > flag for the su command: su now uses the more standard ' - ' option to reset the environment. Mass-closing ancient test report bugs. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.