| List: | Commits | « Previous MessageNext Message » | |
| From: | Øystein Grøvlen | Date: | August 28 2008 7:42am |
| Subject: | Re: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | ||
| View as plain text | |||
Chuck Bell wrote: > Oystein, > >> 1. When I run this test on Solaris, the backup_logs_output tests fails >> because grep option is not portable: >> >> CURRENT_TEST: main.backup_logs_output >> grep: illegal option -- q >> Usage: grep -hblcnsviw pattern file . . . >> mysqltest: At line 184: command "grep -q "BACKUP DATABASE >> bup_log TO 'bup_log.bak'" >> $MYSQLTEST_VARDIR/master-data/backup_history.log" failed with >> wrong error: 2 > > Something is fishy here... The solaris documentation says the -q option is > supported. What gives? > > http://docs.sun.com/app/docs/doc/816-5165/grep-1?a=view Here is what I found out: -q is not supported by the standard Solaris implementation found in /usr/bin, but by the X/Open compatible version in /usr/xpg4/bin. (Probably for backward-compatibility reasons.) You will have to have the latter path in $PATH before the former in order to get the -q option to work. -- Øystein
| Thread | ||
|---|---|---|
| • bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Chuck Bell | 21 Aug |
| • Re: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Øystein Grøvlen | 27 Aug |
| • RE: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Chuck Bell | 27 Aug |
| • RE: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Vladislav Vaintroub | 27 Aug |
| • Re: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Øystein Grøvlen | 28 Aug |
| • RE: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Chuck Bell | 28 Aug |
| • RE: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Chuck Bell | 27 Aug |
| • Re: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Øystein Grøvlen | 28 Aug |
| • RE: bzr commit into mysql-6.0-backup branch (cbell:2681) WL#4296 | Chuck Bell | 27 Aug |
