Mercurial > hg > truffle
comparison test/runtime/6929067/Test6929067.sh @ 6598:6acee021f5ac
7129723: MAC: Some regression tests need to recognize Mac OS X platform
Summary: Add Darwin like Linux to shell scripts
Reviewed-by: kvn, kamg, dholmes
author | coleenp |
---|---|
date | Wed, 01 Aug 2012 16:52:43 -0400 |
parents | 037973617842 |
children | e0ea0e94c23c |
comparison
equal
deleted
inserted
replaced
6260:5e2dc722e70d | 6598:6acee021f5ac |
---|---|
25 Linux) | 25 Linux) |
26 NULL=/dev/null | 26 NULL=/dev/null |
27 PS=":" | 27 PS=":" |
28 FS="/" | 28 FS="/" |
29 ;; | 29 ;; |
30 SunOS | Windows_* | *BSD) | 30 * ) |
31 NULL=NUL | |
32 PS=";" | |
33 FS="\\" | |
34 echo "Test passed; only valid for Linux" | 31 echo "Test passed; only valid for Linux" |
35 exit 0; | 32 exit 0; |
36 ;; | |
37 * ) | |
38 echo "Unrecognized system!" | |
39 exit 1; | |
40 ;; | 33 ;; |
41 esac | 34 esac |
42 | 35 |
43 # Choose arch: i386 or amd64 (test is Linux-specific) | 36 # Choose arch: i386 or amd64 (test is Linux-specific) |
44 # Cannot simply look at TESTVMOPTS as -d64 is not | 37 # Cannot simply look at TESTVMOPTS as -d64 is not |