Repository navigation
Commit 9bcca30
test/ruby/test_process.rb: simplify testing spawn with long strings
test_aspawn_too_long_path just wants to verify that passing a very long
string to spawn does not cause a crash. Use an input string that is long
enough for this purpose and does not ends up with spawning too many
processes.
This change makes this test run much faster on systems where /bin/sh is
bash, which retries fork() several times with long delays before giving
up.
(cherry picked from commit fa8df43)1 parent 844a167 commit 9bcca30
1 file changed
Lines changed: 13 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1802 | 1802 | | |
1803 | 1803 | | |
1804 | 1804 | | |
1805 | | - | |
| 1805 | + | |
1806 | 1806 | | |
1807 | 1807 | | |
1808 | 1808 | | |
1809 | | - | |
1810 | | - | |
| 1809 | + | |
| 1810 | + | |
1811 | 1811 | | |
1812 | 1812 | | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
1817 | 1816 | | |
1818 | 1817 | | |
1819 | 1818 | | |
1820 | 1819 | | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
1840 | | - | |
1841 | | - | |
1842 | | - | |
1843 | | - | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1844 | 1823 | | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
1845 | 1828 | | |
1846 | 1829 | | |
1847 | 1830 | | |
| |||
0 commit comments