OILS / test / bug-2068.sh View on Github | oils.pub

51 lines, 6 significant
1###################################################################################################
2###################################################################################################
3###################################################################################################
4###################################################################################################
5###################################################################################################
6###################################################################################################
7###################################################################################################
8###################################################################################################
9###################################################################################################
10###################################################################################################
11###################################################################################################
12###################################################################################################
13###################################################################################################
14###################################################################################################
15###################################################################################################
16###################################################################################################
17###################################################################################################
18###################################################################################################
19###################################################################################################
20###################################################################################################
21###################################################################################################
22###################################################################################################
23###################################################################################################
24###################################################################################################
25###################################################################################################
26###################################################################################################
27###################################################################################################
28###################################################################################################
29###################################################################################################
30###################################################################################################
31###################################################################################################
32###################################################################################################
33###################################################################################################
34###################################################################################################
35###################################################################################################
36###################################################################################################
37###################################################################################################
38###################################################################################################
39###################################################################################################
40###################################################################################################
41cc -xc - <<EOF
42#include <unistd.h>
43int main(void) {
44 lseek(100, 15, SEEK_CUR);
45}
46EOF
47./a.out
48if false; then
49 echo surprise!
50 exit
51fi