Ticket #1774: ld-test-case

File ld-test-case, 1.6 KB (added by peter, 19 years ago)

test case output that is not messed up with trac formatting

Line 
1Linux From Scratch
2Version SVN-20060414
35.7. Adjusting the Toolchain
4!!!CAUTION!!!
5
6[developer@lfs ~]$ ls -l
7total 20
8drwxr-xr-x 6 developer developer 4096 Apr 15 13:59 Desktop
9drwxrwxr-x 3 developer developer 4096 Apr 16 09:35 ld-test
10-rw-rw-r-- 1 developer developer 10240 Apr 16 09:36 ld-test.tar
11[developer@lfs ~]$ cd ld-test
12[developer@lfs ld-test]$ ls
13copy-of-original-ld gccdumpmachine ld ld-new mvtest1 mvtest2 mvtest3
14[developer@lfs ld-test]$ cat ld
15the ORIGINAL ld file
16[developer@lfs ld-test]$ cat ld-new
17the NEW ld file
18[developer@lfs ld-test]$ ls
19copy-of-original-ld gccdumpmachine ld ld-new mvtest1 mvtest2 mvtest3
20[developer@lfs ld-test]$ ./mvtest1
21`./ld' -> `./ld-old'
22[developer@lfs ld-test]$ ls
23copy-of-original-ld gccdumpmachine ld-new ld-old mvtest1 mvtest2 mvtest3
24[developer@lfs ld-test]$ ./mvtest2
25`./ld-new' -> `./ld'
26[developer@lfs ld-test]$ ls
27copy-of-original-ld gccdumpmachine ld ld-old mvtest1 mvtest2 mvtest3
28[developer@lfs ld-test]$ ./mvtest3
29create symbolic link `./gccdumpmachine/ld' to `./ld'
30[developer@lfs ld-test]$ ls
31copy-of-original-ld gccdumpmachine ld ld-old mvtest1 mvtest2 mvtest3
32[developer@lfs ld-test]$ ./mvtest1
33`./ld' -> `./ld-old'
34[developer@lfs ld-test]$ ./mvtest2
35mv: cannot stat `./ld-new': No such file or directory
36[developer@lfs ld-test]$ ./mvtest3
37ln: `./gccdumpmachine/ld': File exists
38[developer@lfs ld-test]$ which ld
39/usr/bin/ld
40[developer@lfs ld-test]$ ls
41copy-of-original-ld gccdumpmachine ld-old mvtest1 mvtest2 mvtest3
42[developer@lfs ld-test]$ cat ld-old
43the NEW ld file
44[developer@lfs ld-test]$
45
46