spec test index / oilshell.org
status | osh | osh-cpp | |
pass | 4 | 4 | |
ok | 1 | 1 | |
FAIL | 1 | 1 | |
total | 6 | 6 | |
case | osh | osh-cpp | description |
0 | pass | pass | history -a |
1 | pass | pass | history -r |
2 | pass | pass | HISTFILE is defined initially |
3 | pass | pass | HISTFILE must point to a file |
4 | ok | ok | HISTFILE must be a string |
details | details | ||
5 | FAIL | FAIL | history -d to delete history item |
details | details |
8 passed, 2 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 1 failed under osh
osh | 4 HISTFILE must be a string stdout: 1 ^Dstderr: [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ history -a ^~~~~~~ [ stdin -i ]:3: fatal: $HISTFILE should only ever be a string [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh$ [??? no location ???] osh: Failed to move process group 18869 to foreground: No such process |
osh-cpp | 4 HISTFILE must be a string stdout: 1 ^Dstderr: [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ history -a ^~~~~~~ [ stdin -i ]:3: fatal: $HISTFILE should only ever be a string [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ [osh] lenny /home/andy/git/oilshell/oil/_tmp/spec-tmp/builtin-history.test.sh/04-osh-cpp$ [??? no location ???] osh: Failed to move process group 18979 to foreground: No such process |
osh | 5 history -d to delete history item [osh stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=2\nstatus=2\nstatus=2\n' stdout: status=2 status=2 status=2stderr: history -d 1 ^~~~~~~ [ stdin ]:1: 'history' couldn't find item 1 history -d -1 ^~ [ stdin ]:4: 'history' got invalid integer for -d: -1 history -d -2 ^~ [ stdin ]:6: 'history' got invalid integer for -d: -2 |
osh-cpp | 5 history -d to delete history item [osh-cpp stdout] Expected 'status=0\nstatus=1\nstatus=1\n', got 'status=0\nstatus=2\nstatus=2\n' stdout: status=0 status=2 status=2stderr: history -d -1 ^~ [ stdin ]:4: 'history' got invalid integer for -d: -1 history -d -2 ^~ [ stdin ]:6: 'history' got invalid integer for -d: -2 |