Bug 1172 - xreg script uses csh/bash specific syntax for output redirection
Summary: xreg script uses csh/bash specific syntax for output redirection
Alias: None
Product: Xtests
Classification: Unclassified
Component: XTS (show other bugs)
Version: unspecified
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: Kevin E. Martin
QA Contact: Xorg testing team
Depends on:
Reported: 2004-08-24 15:59 UTC by Pawel Worach
Modified: 2018-08-10 21:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Proposed fix (549 bytes, patch)
2004-08-24 16:00 UTC, Pawel Worach
Details | Splinter Review
Proposed fix 2 (242 bytes, patch)
2004-08-24 16:13 UTC, Pawel Worach
Details | Splinter Review
Take 3 (898 bytes, patch)
2004-08-24 17:02 UTC, Pawel Worach
Details | Splinter Review

Description Pawel Worach 2004-08-24 15:59:33 UTC
/bin/sh is not bash on every system so be more gentle and use the
>out 2>&1 style instead of >&. Patch is coming up.
Comment 1 Pawel Worach 2004-08-24 16:00:12 UTC
Created attachment 718 [details] [review]
Proposed fix
Comment 2 Pawel Worach 2004-08-24 16:13:43 UTC
Created attachment 719 [details] [review]
Proposed fix 2

This script uses more bash specifics which i missed in my first glance.
Make sure we use bash to execute it.
Comment 3 Pawel Worach 2004-08-24 17:02:49 UTC
Created attachment 720 [details] [review]
Take 3

Don't use /proc to check if the X server is running, kill -0 <pid>
is more portable as not every system has /proc these days.

Also make the oprofile stuff Linux specific.
Comment 4 Adam Jackson 2005-05-30 11:28:08 UTC
product shift, xorg -> xtest.
Comment 5 Stuart Anderson 2006-11-14 06:47:20 UTC
Kevin, how do these changes look to you?
Comment 6 chemtech 2013-03-15 14:25:24 UTC
Pawel Worach
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 7 GitLab Migration User 2018-08-10 21:43:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/test/xts/issues/6.

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.