[Bug 1283309] Re: bash built-in read timeout (-t) doesn't work
Lukas Märdian
1283309 at bugs.launchpad.net
Wed Oct 12 08:04:02 UTC 2022
I cannot seem to reproduce this issue on Jammy bash 5.1-6ubuntu1:
```
$ time read -t 2 test
real 0m2,000s
user 0m0,000s
sys 0m0,000s
$
```
@crtiger Could you please describe your "changing the system clock and
wait for ntp run" reproducer in more detail?
** Changed in: bash (Ubuntu)
Status: Confirmed => Incomplete
** Changed in: bash (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1283309
Title:
bash built-in read timeout (-t) doesn't work
Status in bash package in Ubuntu:
Incomplete
Bug description:
This should timeout after 2 seconds (based on bash man page) but it doesn't:
#read -t 2 test
(waits infinitely, only terminates after pressing [enter] or ctrl-C, etc..)
bash --version:
GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
Installed bash package version:
4.2-2ubuntu2.1
$ lsb_release -rd
Description: Ubuntu 12.04.4 LTS
Release: 12.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1283309/+subscriptions
More information about the foundations-bugs
mailing list