ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
26 lines
716 B
Plaintext
26 lines
716 B
Plaintext
# Tests of fc command
|
|
%prep
|
|
|
|
mkdir fc.tmp
|
|
cd fc.tmp
|
|
print 'fc -l foo' >fcl
|
|
|
|
%test
|
|
$ZTST_testdir/../Src/zsh -f ./fcl
|
|
1:Checking that fc -l foo doesn't core dump when history is empty
|
|
?./fcl:fc:1: event not found: foo
|
|
|
|
PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< $'fc -p /dev/null 0 0\n:'
|
|
0:Checking that fc -p doesn't core dump when history size is zero
|
|
*?*%*
|
|
|
|
PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null a 0'
|
|
1:Checking that fc -p rejects non-integer history size
|
|
*?*% fc: HISTSIZE must be an integer
|
|
*?*%*
|
|
|
|
PS1='%% ' $ZTST_testdir/../Src/zsh +Z -fsi <<< 'fc -p /dev/null 0 a'
|
|
1:Checking that fc -p rejects non-integer history save size
|
|
*?*% fc: SAVEHIST must be an integer
|
|
*?*%*
|