Repository navigation
Commit fa8df43
committed
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.1 parent a4cccea commit fa8df43
1 file changed
Lines changed: 13 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1855 | 1855 | | |
1856 | 1856 | | |
1857 | 1857 | | |
1858 | | - | |
| 1858 | + | |
1859 | 1859 | | |
1860 | 1860 | | |
1861 | 1861 | | |
1862 | | - | |
1863 | | - | |
| 1862 | + | |
| 1863 | + | |
1864 | 1864 | | |
1865 | 1865 | | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1870 | 1869 | | |
1871 | 1870 | | |
1872 | 1871 | | |
1873 | 1872 | | |
1874 | | - | |
1875 | | - | |
1876 | | - | |
1877 | | - | |
1878 | | - | |
1879 | | - | |
1880 | | - | |
1881 | | - | |
1882 | | - | |
1883 | | - | |
1884 | | - | |
1885 | | - | |
1886 | | - | |
1887 | | - | |
1888 | | - | |
1889 | | - | |
1890 | | - | |
1891 | | - | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
1897 | 1876 | | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
1898 | 1881 | | |
1899 | 1882 | | |
1900 | 1883 | | |
| |||
0 commit comments