mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
Fix test
On some systems (Fedora 40) `which unknown` outputs error string
This commit is contained in:
@@ -78,7 +78,7 @@ class RcubeTest extends TestCase
|
||||
return;
|
||||
}
|
||||
|
||||
$this->assertSame('', \rcube::exec('which unknown-command-123'));
|
||||
$this->assertSame('', \rcube::exec('which unknown-command-123 2> /dev/null'));
|
||||
$this->assertSame("2038\n", \rcube::exec('date --date={date} +%Y', ['date' => '@2147483647']));
|
||||
// TODO: More cases
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user