Bug 1172

Summary: xreg script uses csh/bash specific syntax for output redirection
Product: Xtests Reporter: Pawel Worach <pawel.worach>
Component: XTSAssignee: Kevin E. Martin <kem>
Status: RESOLVED MOVED QA Contact: Xorg testing team <xorg-test>
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:
Attachments: Proposed fix
Proposed fix 2
Take 3

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.