Unportable use of uname in pg_upgrade test script

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Unportable use of uname in pg_upgrade test script
Дата
Msg-id 2402.1348935186@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Unportable use of uname in pg_upgrade test script
Список pgsql-hackers
BTW, I tried the pg_upgrade regression tests this morning on my dinosaur
HPUX box, and it promptly fell over with:

uname: illegal option -- o
usage: uname [-amnrsvil] [-S nodename]
make: *** [check] Error 1

This is not terribly surprising, because the -o option is nowhere to be
seen in the Single Unix Spec definition of uname; which means this is
likely to fail on other platforms too.  I would suggest using -s, or no
option at all, or finding some other way to identify Windows/MSys.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_upgrade tests vs alter generic changes
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Unportable use of uname in pg_upgrade test script