Esempio n. 1
0
 /// <exception cref="System.Exception"/>
 public virtual void TestStatFreeBSD()
 {
     string[]            symlinks = new string[] { "6,Symbolic Link,1373508941,1373508941,120755,awang,awang,`link' -> `target'" };
     TestStat.StatOutput freebsd  = new TestStat.StatOutput(this, "stat: symtest/link: stat: No such file or directory"
                                                            , "512,Directory,1373583695,1373583669,40755,awang,awang,`link' -> `'", "0,Regular File,1373508937,1373508937,100644,awang,awang,`link' -> `'"
                                                            , symlinks, "512,Directory,1375139537,1375139537,41755,awang,awang,`link' -> `'"
                                                            );
     freebsd.Test();
 }
Esempio n. 2
0
 /// <exception cref="System.Exception"/>
 public virtual void TestStatLinux()
 {
     string[] symlinks = new string[] { "6,symbolic link,1373584236,1373584236,777,andrew,andrew,`link' -> `target'"
                                        , "6,symbolic link,1373584236,1373584236,777,andrew,andrew,'link' -> 'target'" };
     TestStat.StatOutput linux = new TestStat.StatOutput(this, "stat: cannot stat `watermelon': No such file or directory"
                                                         , "4096,directory,1373584236,1373586485,755,andrew,root,`.'", "0,regular empty file,1373584228,1373584228,644,andrew,andrew,`target'"
                                                         , symlinks, "4096,directory,1374622334,1375124212,1755,andrew,andrew,`stickydir'"
                                                         );
     linux.Test();
 }